diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2008-01-15 07:02:33 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2008-01-15 07:02:33 +0000 |
commit | 66fac79b899904ddd82e5ee354a6d370d80230f6 (patch) | |
tree | 91bf22e85b1b2293c66acb746a96fb0b64598628 /lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | 0747baaf6accc331d74764f965b9386e44374eeb (diff) |
For PR1839: add initial support for __builtin_trap. llvm-gcc part is missed
as well as PPC codegen
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46001 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 2206515649..381e9dec64 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -3770,7 +3770,8 @@ std::string SDNode::getOperationName(const SelectionDAG *G) const { case ISD::BUILD_PAIR: return "build_pair"; case ISD::STACKSAVE: return "stacksave"; case ISD::STACKRESTORE: return "stackrestore"; - + case ISD::TRAP: return "trap"; + // Block memory operations. case ISD::MEMSET: return "memset"; case ISD::MEMCPY: return "memcpy"; |