diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-10-11 19:05:08 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-10-11 19:05:08 +0000 |
commit | 5af763cb2ad96f557f88acdb11a710e7c7256800 (patch) | |
tree | 84d92351ba6adaa0f66bda6131c393566296000b /lib/Target/Mips/MipsInstrInfo.td | |
parent | 85733840109907e1e0f8ffc03dcd2f5fd8e49d47 (diff) | |
download | llvm-5af763cb2ad96f557f88acdb11a710e7c7256800.tar.gz llvm-5af763cb2ad96f557f88acdb11a710e7c7256800.tar.bz2 llvm-5af763cb2ad96f557f88acdb11a710e7c7256800.tar.xz |
Mips: Disassemble sign-extended 64 bit immediates properly.
This doesn't change the meaning of the output, but makes look right. PR17539.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192483 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsInstrInfo.td')
-rw-r--r-- | lib/Target/Mips/MipsInstrInfo.td | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Target/Mips/MipsInstrInfo.td b/lib/Target/Mips/MipsInstrInfo.td index cdc1bae777..c7487000c4 100644 --- a/lib/Target/Mips/MipsInstrInfo.td +++ b/lib/Target/Mips/MipsInstrInfo.td @@ -262,7 +262,9 @@ def uimm20 : Operand<i32> { def uimm10 : Operand<i32> { } -def simm16_64 : Operand<i64>; +def simm16_64 : Operand<i64> { + let DecoderMethod = "DecodeSimm16"; +} // Unsigned Operand def uimm5 : Operand<i32> { |