Adds support for BEQL and BNEL macros with immediate operands.
Patch by: Srdjan Obucina
Paths
| Differential D17040
[mips] Expansion of BEQL and BNEL with immediate operands ClosedPublic Authored by sdardis on Feb 9 2016, 1:54 PM.
Details Summary Adds support for BEQL and BNEL macros with immediate operands. Patch by: Srdjan Obucina
Diff Detail
Event Timelineobucina updated this object. Comment Actions Overall this looks good to me. However, we'll have to add a few more tests before committing this. You can take a look at r239905 in order to get an idea of what we need to change: test/MC/Mips/branch-pseudos-bad.s Comment Actions Can You please be more precise what exactly You are expecting to be changed? branch-pseudo.s is a set of tests for branch instructions with register operands. I guess You think we need tests for global labels? branch-pseudo-bad.s also covers branch instructions with register operands. I guess You want to test for AT reg availability here? set-nomacro.s covers branch instructions, but not branch likely instructions? Do You want to add these two instructions here? For the sake of completeness, what about other branch likely instructions? Just be more precise, please... This revision is now accepted and ready to land.Mar 21 2016, 9:33 AM obucina edited edge metadata. obucina marked 2 inline comments as done. Comment ActionsAccording to feedback - split long line, redundant tests removed. Comment Actions This patch has aged a bit and doesn't apply cleanly to trunk any longer. Can this be refreshed to a more recent trunk? This revision now requires changes to proceed.Sep 26 2016, 6:50 AM This revision is now accepted and ready to land.Jan 30 2017, 2:59 PM Closed by commit rL293905: [mips] Expansion of BEQL and BNEL with immediate operands (authored by sdardis). · Explain WhyFeb 2 2017, 8:25 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 86819 llvm/trunk/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
llvm/trunk/lib/Target/Mips/MipsInstrInfo.td
llvm/trunk/test/MC/Mips/branch-pseudos-bad.s
llvm/trunk/test/MC/Mips/macro-bcc-imm.s
llvm/trunk/test/MC/Mips/set-nomacro.s
|