[FastISel][AArch64] Use the correct register class for branches.
authorJuergen Ributzka <juergen@apple.com>
Fri, 29 Aug 2014 23:48:06 +0000 (23:48 +0000)
committerJuergen Ributzka <juergen@apple.com>
Fri, 29 Aug 2014 23:48:06 +0000 (23:48 +0000)
commite7f301e079ee4b86f0a54b1108222ee3b6938ca1
tree6187c092103d3ba6f389a9c9c1171ca54b659b7b
parentbc420a0cc1f86b56d9987bbbc225f21669ae0f5d
[FastISel][AArch64] Use the correct register class for branches.

Also constrain the register class for branches.

This fixes rdar://problem/18181496.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216804 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64FastISel.cpp
test/CodeGen/AArch64/arm64-fast-isel-call.ll