[mips][ias] Implement macro expansion when bcc has an immediate where a register...
authorDaniel Sanders <daniel.sanders@imgtec.com>
Mon, 12 Oct 2015 14:24:05 +0000 (14:24 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Mon, 12 Oct 2015 14:24:05 +0000 (14:24 +0000)
commit40a996d5d23fb2df8f753ba1e67d8578f556f321
treebd0e3fcaeaec764e4f92fdefb5767fcda6c067da
parentf3d30a7aca4e68a2f644136b319e6be9653bfcd0
[mips][ias] Implement macro expansion when bcc has an immediate where a register belongs.

Summary: Fixes PR24915.

Reviewers: vkalintiris

Subscribers: emaste, seanbruno, llvm-commits

Differential Revision: http://reviews.llvm.org/D13533

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250042 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
lib/Target/Mips/MipsInstrInfo.td
test/MC/Mips/macro-bcc-imm-bad.s [new file with mode: 0644]
test/MC/Mips/macro-bcc-imm.s [new file with mode: 0644]