PPC MCRF instruction does not have side effects
authorHal Finkel <hfinkel@anl.gov>
Sun, 7 Apr 2013 05:16:57 +0000 (05:16 +0000)
committerHal Finkel <hfinkel@anl.gov>
Sun, 7 Apr 2013 05:16:57 +0000 (05:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178971 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCInstrInfo.td

index 4664e57d5112c7e59e7aaf52a92eaf2b6dcd65a1..86d020be4da84f1da7fe4596ec6dc54c18f4cca0 100644 (file)
@@ -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;