Prevent ARM assembler from losing a right shift by #32 applied to a register
[oota-llvm.git] / lib / Target / X86 / X86InstrSystem.td
index f1ca114c4c933a2290b4a3a0e1027cd6ef5766db..ea716bfd6bd862df69b06acff7dc325812ed3bba 100644 (file)
@@ -36,6 +36,9 @@ let Uses = [EFLAGS] in
 def INT3 : I<0xcc, RawFrm, (outs), (ins), "int3",
               [(int_x86_int (i8 3))], IIC_INT3>;
 
+def : Pat<(debugtrap),
+          (INT3)>;
+
 // The long form of "int $3" turns into int3 as a size optimization.
 // FIXME: This doesn't work because InstAlias can't match immediate constants.
 //def : InstAlias<"int\t$3", (INT3)>;