Fix opcode value for the 'trap' instruction, keeping the type suffix on the
authorJim Grosbach <grosbach@apple.com>
Thu, 23 Sep 2010 19:32:40 +0000 (19:32 +0000)
committerJim Grosbach <grosbach@apple.com>
Thu, 23 Sep 2010 19:32:40 +0000 (19:32 +0000)
constant. Hopefully the non-Darwin bots will like it...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114687 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMAsmPrinter.cpp

index 72d34b92b36cefc9dac54c66785508eee1a1b1d6..2f2c6e3c81898202240318d7712ad22e57a35fd8 100644 (file)
@@ -1729,7 +1729,7 @@ void ARMAsmPrinter::printInstructionThroughMCStreamer(const MachineInstr *MI) {
     // FIXME: Remove this special case when they do.
     if (!Subtarget->isTargetDarwin()) {
       //.long 0xe7ffdefe ${:comment} trap
-      uint32_t Val = 0xe7ffdefeUL;
+      uint32_t Val = 0xe7ffdefeeUL;
       OutStreamer.AddComment("trap");
       OutStreamer.EmitIntValue(Val, 4);
       return;