[llvm-commits] [llvm] r46012 - /llvm/trunk/lib/Target/X86/X86InstrInfo.td
Anton Korobeynikov
asl at math.spbu.ru
Tue Jan 15 13:40:02 PST 2008
Author: asl
Date: Tue Jan 15 15:40:02 2008
New Revision: 46012
URL: http://llvm.org/viewvc/llvm-project?rev=46012&view=rev
Log:
Fix JIT encoding of trap/ud2 instruction
Modified:
llvm/trunk/lib/Target/X86/X86InstrInfo.td
Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrInfo.td?rev=46012&r1=46011&r2=46012&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrInfo.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrInfo.td Tue Jan 15 15:40:02 2008
@@ -490,8 +490,7 @@
TB;
let isBarrier = 1, hasCtrlDep = 1 in {
-// FIXME: Should use 0x0F0B opcode
-def TRAP : I<0, RawFrm, (outs), (ins), "ud2", [(X86trap)]>;
+def TRAP : I<0x0B, RawFrm, (outs), (ins), "ud2", [(X86trap)]>, TB;
}
//===----------------------------------------------------------------------===//
More information about the llvm-commits
mailing list