diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2011-12-24 02:59:27 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2011-12-24 02:59:27 +0000 |
commit | 9dbeb0284d9e9a29f473bc24af91f780cd52dbbf (patch) | |
tree | 76b46e37eb9d05b76cb8b78b87d3d6b6f1597e8a /lib | |
parent | df09270ae897e7fa64a7c162de163c32ee181a03 (diff) | |
download | llvm-9dbeb0284d9e9a29f473bc24af91f780cd52dbbf.tar.gz llvm-9dbeb0284d9e9a29f473bc24af91f780cd52dbbf.tar.bz2 llvm-9dbeb0284d9e9a29f473bc24af91f780cd52dbbf.tar.xz |
If target ABI is N64, LEA should be daddiu.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147232 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/Mips/Mips64InstrInfo.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Mips/Mips64InstrInfo.td b/lib/Target/Mips/Mips64InstrInfo.td index f7994172c6..a81988741f 100644 --- a/lib/Target/Mips/Mips64InstrInfo.td +++ b/lib/Target/Mips/Mips64InstrInfo.td @@ -203,7 +203,7 @@ def DCLO : CountLeading1<0x25, "dclo", CPU64Regs>; def DSBH : SubwordSwap<0x24, 0x2, "dsbh", CPU64Regs>; def DSHD : SubwordSwap<0x24, 0x5, "dshd", CPU64Regs>; -def LEA_ADDiu64 : EffectiveAddress<"addiu\t$rt, $addr", CPU64Regs, mem_ea_64>; +def LEA_ADDiu64 : EffectiveAddress<"daddiu\t$rt, $addr", CPU64Regs, mem_ea_64>; let Uses = [SP_64] in def DynAlloc64 : EffectiveAddress<"daddiu\t$rt, $addr", CPU64Regs, mem_ea_64>, |