[FastISel][AArch64] Fold bit test and branch into TBZ and TBNZ.
authorJuergen Ributzka <juergen@apple.com>
Thu, 18 Sep 2014 02:44:13 +0000 (02:44 +0000)
committerJuergen Ributzka <juergen@apple.com>
Thu, 18 Sep 2014 02:44:13 +0000 (02:44 +0000)
commit710fc316fbbf0c58cb550064070a602e218f0d9a
treeee79635c7e7661a24bf61993b1bc0a1929b10fd2
parent12a9dbd322a63f84c7ae141690e909e357ac72fb
[FastISel][AArch64] Fold bit test and branch into TBZ and TBNZ.

Teach selectBranch to fold bit test and branch into a single instruction (TBZ or
TBNZ).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218010 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64FastISel.cpp
test/CodeGen/AArch64/fast-isel-tbz.ll [new file with mode: 0644]