mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-09 21:32:49 +00:00
Fix JIT encoding of trap/ud2 instruction
llvm-svn: 46012
This commit is contained in:
parent
0ad07f292c
commit
44893ee93d
@ -490,8 +490,7 @@ def RDTSC : I<0x31, RawFrm, (outs), (ins), "rdtsc", [(X86rdtsc)]>,
|
||||
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;
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
Loading…
Reference in New Issue
Block a user