mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Set isTerminator on TRAP instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103778 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c0c32ae5c2
commit
effc8c5269
@ -662,7 +662,7 @@ def STWCX : XForm_1<31, 150, (outs), (ins GPRC:$rS, memrr:$dst),
|
||||
[(PPCstcx GPRC:$rS, xoaddr:$dst)]>,
|
||||
isDOT;
|
||||
|
||||
let isBarrier = 1, hasCtrlDep = 1 in
|
||||
let isTerminator = 1, isBarrier = 1, hasCtrlDep = 1 in
|
||||
def TRAP : XForm_24<31, 4, (outs), (ins), "trap", LdStGeneral, [(trap)]>;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
@ -871,7 +871,7 @@ def RDTSC : I<0x31, RawFrm, (outs), (ins), "rdtsc", [(X86rdtsc)]>,
|
||||
let Defs = [RAX, RCX, RDX] in
|
||||
def RDTSCP : I<0x01, MRM_F9, (outs), (ins), "rdtscp", []>, TB;
|
||||
|
||||
let isBarrier = 1, hasCtrlDep = 1 in {
|
||||
let isTerminator = 1, isBarrier = 1, hasCtrlDep = 1 in {
|
||||
def TRAP : I<0x0B, RawFrm, (outs), (ins), "ud2", [(trap)]>, TB;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user