[PATCH] D30199: [ARM] Correct SP/PC handling in t2MOVr
John Brawn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 21 06:53:01 PST 2017
john.brawn created this revision.
Herald added a subscriber: aemerson.
PC isn't allowed in the source operand of t2MOVr, so change the register class to one without PC. SP handling is slightly trickier and changes depending on if we're in ARMv8, so do that in checkTargetMatchPredicate.
Repository:
rL LLVM
https://reviews.llvm.org/D30199
Files:
lib/Target/ARM/ARMInstrThumb2.td
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
test/MC/ARM/thumb-mov.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30199.89198.patch
Type: text/x-patch
Size: 6649 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170221/27056db6/attachment.bin>
More information about the llvm-commits
mailing list