diff options
| author | Hal Finkel <hfinkel@anl.gov> | 2013-04-07 05:16:57 +0000 |
|---|---|---|
| committer | Hal Finkel <hfinkel@anl.gov> | 2013-04-07 05:16:57 +0000 |
| commit | 933e8f037dc32743bc290633b5ea9e731c0b5a97 (patch) | |
| tree | ea5d68566bb0a8e2638f76c5b66ce63a224d1036 /llvm/lib | |
| parent | 94072b98ebb4c3e4a5e1567e023b9cf14addbca4 (diff) | |
| download | bcm5719-llvm-933e8f037dc32743bc290633b5ea9e731c0b5a97.tar.gz bcm5719-llvm-933e8f037dc32743bc290633b5ea9e731c0b5a97.zip | |
PPC MCRF instruction does not have side effects
llvm-svn: 178971
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/PowerPC/PPCInstrInfo.td | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCInstrInfo.td b/llvm/lib/Target/PowerPC/PPCInstrInfo.td index 4664e57d511..86d020be4da 100644 --- a/llvm/lib/Target/PowerPC/PPCInstrInfo.td +++ b/llvm/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; |

