diff options
| author | Simon Dardis <simon.dardis@mips.com> | 2018-06-01 10:07:10 +0000 |
|---|---|---|
| committer | Simon Dardis <simon.dardis@mips.com> | 2018-06-01 10:07:10 +0000 |
| commit | ee67dcb837b37a1e1b538dec78ca9fd7c9f2315a (patch) | |
| tree | 32cba417132395954cdd6b6f7f71065a24707923 /llvm/lib/Target/Mips/MipsInstrInfo.td | |
| parent | 82ebdd792927f8658ed90e4e04245af5566c8138 (diff) | |
| download | bcm5719-llvm-ee67dcb837b37a1e1b538dec78ca9fd7c9f2315a.tar.gz bcm5719-llvm-ee67dcb837b37a1e1b538dec78ca9fd7c9f2315a.zip | |
[mips] Select the correct instruction for computing frameindexes
Reviewers: smaksimovic, atanasyan, abeserminji
Differential Revision: https://reviews.llvm.org/D47582
llvm-svn: 333736
Diffstat (limited to 'llvm/lib/Target/Mips/MipsInstrInfo.td')
| -rw-r--r-- | llvm/lib/Target/Mips/MipsInstrInfo.td | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/MipsInstrInfo.td b/llvm/lib/Target/Mips/MipsInstrInfo.td index a9261b15cfa..5629cb5115d 100644 --- a/llvm/lib/Target/Mips/MipsInstrInfo.td +++ b/llvm/lib/Target/Mips/MipsInstrInfo.td @@ -2317,7 +2317,8 @@ def NOP : PseudoSE<(outs), (ins), []>, PseudoInstExpansion<(SLL ZERO, ZERO, 0)>; // instructions. The same not happens for stack address copies, so an // add op with mem ComplexPattern is used and the stack address copy // can be matched. It's similar to Sparc LEA_ADDRi -def LEA_ADDiu : MMRel, EffectiveAddress<"addiu", GPR32Opnd>, LW_FM<9>; +let AdditionalPredicates = [NotInMicroMips] in + def LEA_ADDiu : MMRel, EffectiveAddress<"addiu", GPR32Opnd>, LW_FM<9>, ISA_MIPS1; // MADD*/MSUB* def MADD : MMRel, MArithR<"madd", II_MADD, 1>, MULT_FM<0x1c, 0>, |

