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

lib/Target/PowerPC/PPCInstrInfo.td

index 8cc5bb63ae72251c2d8b0990f3cb46b0d8560a1c..4664e57d5112c7e59e7aaf52a92eaf2b6dcd65a1 100644 (file)
@@ -1201,6 +1201,7 @@ let Uses = [RM] in {
 /// often coalesced away and we don't want the dispatch group builder to think
 /// that they will fill slots (which could cause the load of a LSU reject to
 /// sneak into a d-group with a store).
+let neverHasSideEffects = 1 in
 def FMR   : XForm_26<63, 72, (outs F4RC:$frD), (ins F4RC:$frB),
                      "fmr $frD, $frB", FPGeneral,
                      []>,  // (set f32:$frD, f32:$frB)