[PATCH] [mips] [IAS] Add support for the B{L, G}{T, E}(U) branch pseudo-instructions.
Toma Tabacu
toma.tabacu at imgtec.com
Thu Apr 23 09:06:13 PDT 2015
Made expansions identical with GAS (will report mismatches as bugs in GAS):
blt $0, $0 now expands to bltz $zero
ble $0, $0 now expands to blez $zero
bge $0, $0 now expands to bgez $zero
bgt $0, $0 now expands to bgtz $zero
bgtu $0, $0 now expands to bnez $zero
Renamed to avoid possible confusion with compact branches.
Added error test for using conditional branch pseudos after .set noat.
Committed suggested change as http://reviews.llvm.org/rL235601.
Rebased on top of new http://reviews.llvm.org/D8480.
http://reviews.llvm.org/D8537
Files:
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
lib/Target/Mips/MipsInstrInfo.td
test/MC/Mips/branch-pseudos-bad.s
test/MC/Mips/branch-pseudos.s
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8537.24307.patch
Type: text/x-patch
Size: 21606 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150423/df849117/attachment.bin>
More information about the llvm-commits
mailing list