diff options
author | Bill Wendling <isanbard@gmail.com> | 2007-12-19 06:07:48 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2007-12-19 06:07:48 +0000 |
commit | ee912540e7870cd388ab0d8ed1aaa2d0204da54e (patch) | |
tree | 2bb6eff2920997da67ba8d325c3fd4bcd3cafa4a | |
parent | 23ff1f910f5662be275b2c6bf40055d88579675a (diff) |
Mark the "isRemat" instruction as never having side effects.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45190 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/PowerPC/PPCInstrInfo.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCInstrInfo.td b/lib/Target/PowerPC/PPCInstrInfo.td index 2aea2545b1..512c966338 100644 --- a/lib/Target/PowerPC/PPCInstrInfo.td +++ b/lib/Target/PowerPC/PPCInstrInfo.td @@ -687,7 +687,7 @@ def SUBFIC : DForm_2< 8, (outs GPRC:$rD), (ins GPRC:$rA, s16imm:$imm), "subfic $rD, $rA, $imm", IntGeneral, [(set GPRC:$rD, (subc immSExt16:$imm, GPRC:$rA))]>; -let isReMaterializable = 1 in { +let isReMaterializable = 1, neverHasSideEffects = 1 in { def LI : DForm_2_r0<14, (outs GPRC:$rD), (ins symbolLo:$imm), "li $rD, $imm", IntGeneral, [(set GPRC:$rD, immSExt16:$imm)]>; |