LI should never accept immediates larger than 32 bits.
The additional Is32BitImm boolean also paves the way for unifying the functionality that LA and LI have in common.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D9289
[mips] [IAS] Fix error messages for using LI with 64-bit immediates. ClosedPublic Authored by tomatabacu on Apr 27 2015, 5:27 AM.
Details Summary LI should never accept immediates larger than 32 bits.
Diff Detail
Event Timelinetomatabacu retitled this revision from to [mips] [IAS] Fix error messages for using LI with 64-bit immediates.. tomatabacu updated this object. tomatabacu added parent revisions: D8924: [mips] [IAS] Store the expandLoadImm destination register in a variable. NFC., D8968: [mips] [IAS] Rename the createShiftOr function to createLShiftOri. NFC., D8969: [mips] [IAS] Do not generate redundant ORi in createLShiftOri., D8973: [mips] [IAS] Inline assemble-time shifting out of createLShiftOri. NFC., D8974: [mips] [IAS] Slightly improve shift instruction generation in expandLoadImm.. This revision is now accepted and ready to land.Apr 30 2015, 5:21 AM Closed by commit rL236313: [mips] [IAS] Fix error messages for using LI with 64-bit immediates. (authored by tomatabacu). · Explain WhyMay 1 2015, 5:22 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 24797 llvm/trunk/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
llvm/trunk/test/MC/Mips/mips-expansions-bad.s
|