[llvm] r178971 - PPC MCRF instruction does not have side effects
Hal Finkel
hfinkel at anl.gov
Sat Apr 6 22:16:57 PDT 2013
Author: hfinkel
Date: Sun Apr 7 00:16:57 2013
New Revision: 178971
URL: http://llvm.org/viewvc/llvm-project?rev=178971&view=rev
Log:
PPC MCRF instruction does not have side effects
Modified:
llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.td
Modified: llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.td?rev=178971&r1=178970&r2=178971&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.td (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.td Sun Apr 7 00:16:57 2013
@@ -1245,6 +1245,7 @@ def FRSQRTES : XForm_26<59, 26, (outs F4
// 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;
More information about the llvm-commits
mailing list