ARM: Clean up fast-isel machine verifier errors.
authorJim Grosbach <grosbach@apple.com>
Fri, 16 Aug 2013 23:37:23 +0000 (23:37 +0000)
committerJim Grosbach <grosbach@apple.com>
Fri, 16 Aug 2013 23:37:23 +0000 (23:37 +0000)
commit0673379712100110c213a0e7610b73b6c706e83d
treeff488a986479cd28198f8807b4e2e0975e8795d1
parent70360e67624b5897490de29b51b1b616afcb8f5e
ARM: Clean up fast-isel machine verifier errors.

Lots of machine verifier errors result from using a plain GPR regclass
for incoming argument copies. A more restrictive rGPR class is more
appropriate since it more accurately represents what's happening, plus
it lines up better with isel later on so the verifier is happier.
Reduces the number of ARM fast-isel tests not running with the verifier
enabled by over half.

rdar://12594152

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188592 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMFastISel.cpp
test/CodeGen/ARM/fast-isel-align.ll
test/CodeGen/ARM/fast-isel-cmp-imm.ll
test/CodeGen/ARM/fast-isel-ext.ll
test/CodeGen/ARM/fast-isel-icmp.ll
test/CodeGen/ARM/fast-isel-intrinsic.ll
test/CodeGen/ARM/fast-isel-ldr-str-thumb-neg-index.ll
test/CodeGen/ARM/fast-isel-ret.ll
test/CodeGen/ARM/fast-isel-shifter.ll
test/CodeGen/ARM/fast-isel.ll