diff options
author | Dan Gohman <gohman@apple.com> | 2010-05-14 16:46:02 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-05-14 16:46:02 +0000 |
commit | effc8c52693d4b65941ff160cc5ab7f87595e2f0 (patch) | |
tree | a10d3a9929f3d85ff14328f7b85724da6eb72271 | |
parent | c0c32ae5c2eb2934d51d8edcb3d7fa4e19f50c48 (diff) | |
download | external_llvm-effc8c52693d4b65941ff160cc5ab7f87595e2f0.zip external_llvm-effc8c52693d4b65941ff160cc5ab7f87595e2f0.tar.gz external_llvm-effc8c52693d4b65941ff160cc5ab7f87595e2f0.tar.bz2 |
Set isTerminator on TRAP instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103778 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/PowerPC/PPCInstrInfo.td | 2 | ||||
-rw-r--r-- | lib/Target/X86/X86InstrInfo.td | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/PowerPC/PPCInstrInfo.td b/lib/Target/PowerPC/PPCInstrInfo.td index 62bd169..4d153c4 100644 --- a/lib/Target/PowerPC/PPCInstrInfo.td +++ b/lib/Target/PowerPC/PPCInstrInfo.td @@ -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)]>; //===----------------------------------------------------------------------===// diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td index c24fc24..6d41a3d 100644 --- a/lib/Target/X86/X86InstrInfo.td +++ b/lib/Target/X86/X86InstrInfo.td @@ -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; } |