summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCInstrInfo.td
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-05-14 16:46:02 +0000
committerDan Gohman <gohman@apple.com>2010-05-14 16:46:02 +0000
commiteffc8c52693d4b65941ff160cc5ab7f87595e2f0 (patch)
treea10d3a9929f3d85ff14328f7b85724da6eb72271 /lib/Target/PowerPC/PPCInstrInfo.td
parentc0c32ae5c2eb2934d51d8edcb3d7fa4e19f50c48 (diff)
downloadllvm-effc8c52693d4b65941ff160cc5ab7f87595e2f0.tar.gz
llvm-effc8c52693d4b65941ff160cc5ab7f87595e2f0.tar.bz2
llvm-effc8c52693d4b65941ff160cc5ab7f87595e2f0.tar.xz
Set isTerminator on TRAP instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103778 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCInstrInfo.td')
-rw-r--r--lib/Target/PowerPC/PPCInstrInfo.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCInstrInfo.td b/lib/Target/PowerPC/PPCInstrInfo.td
index 62bd169463..4d153c46e5 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)]>;
//===----------------------------------------------------------------------===//