summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCInstrInfo.td
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2013-04-07 05:16:57 +0000
committerHal Finkel <hfinkel@anl.gov>2013-04-07 05:16:57 +0000
commitaecbe2426825463c183a036da4bfae621e8ec080 (patch)
treee48955cb978b4948021f5d5f375ae326894a525e /lib/Target/PowerPC/PPCInstrInfo.td
parentfa1cac2a1e37f9925543894b0a4ae5db080a862a (diff)
downloadllvm-aecbe2426825463c183a036da4bfae621e8ec080.tar.gz
llvm-aecbe2426825463c183a036da4bfae621e8ec080.tar.bz2
llvm-aecbe2426825463c183a036da4bfae621e8ec080.tar.xz
PPC MCRF instruction does not have side effects
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178971 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCInstrInfo.td')
-rw-r--r--lib/Target/PowerPC/PPCInstrInfo.td1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCInstrInfo.td b/lib/Target/PowerPC/PPCInstrInfo.td
index 4664e57d51..86d020be4d 100644
--- a/lib/Target/PowerPC/PPCInstrInfo.td
+++ b/lib/Target/PowerPC/PPCInstrInfo.td
@@ -1245,6 +1245,7 @@ def FRSQRTES : XForm_26<59, 26, (outs F4RC:$frD), (ins F4RC:$frB),
// XL-Form instructions. condition register logical ops.
//
+let neverHasSideEffects = 1 in
def MCRF : XLForm_3<19, 0, (outs CRRC:$BF), (ins CRRC:$BFA),
"mcrf $BF, $BFA", BrMCR>,
PPC970_DGroup_First, PPC970_Unit_CRU;