If we only pass the necessary operands, we don't have to determine the position of the symbol operand when entering expandLoadAddressSym().
This simplifies the expandLoadAddressSym() code.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D9291
[mips] [IAS] Give expandLoadAddressSym() more specific arguments. NFC. ClosedPublic Authored by tomatabacu on Apr 27 2015, 6:08 AM.
Details Summary If we only pass the necessary operands, we don't have to determine the position of the symbol operand when entering expandLoadAddressSym().
Diff Detail Event Timelinetomatabacu retitled this revision from to [mips] [IAS] Give expandLoadAddressSym() more specific arguments. NFC.. 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., D9289: [mips] [IAS] Fix error messages for using LI with 64-bit immediates., D9290: [mips] [IAS] Unify common functionality of LA and LI.. This revision is now accepted and ready to land.Apr 30 2015, 5:05 AM tomatabacu edited edge metadata. Comment ActionsRebased on top of new D9290 and made changes as required. tomatabacu removed parent revisions: D9289: [mips] [IAS] Fix error messages for using LI with 64-bit immediates., D8974: [mips] [IAS] Slightly improve shift instruction generation in expandLoadImm., D8973: [mips] [IAS] Inline assemble-time shifting out of createLShiftOri. NFC., D8969: [mips] [IAS] Do not generate redundant ORi in createLShiftOri., D8968: [mips] [IAS] Rename the createShiftOr function to createLShiftOri. NFC., D8924: [mips] [IAS] Store the expandLoadImm destination register in a variable. NFC..May 6 2015, 10:49 AM
Revision Contents
Diff 25066 lib/Target/Mips/AsmParser/MipsAsmParser.cpp
|