[FastISel][AArch64] Improve branch selection to support all FP conditions.
authorJuergen Ributzka <juergen@apple.com>
Wed, 17 Sep 2014 17:46:47 +0000 (17:46 +0000)
committerJuergen Ributzka <juergen@apple.com>
Wed, 17 Sep 2014 17:46:47 +0000 (17:46 +0000)
commit17e0ee5078173356241cb860e2408100ce85ddf4
treefcd01388e83eb6e1c40b0341490562070a0c9aac
parent30486fa3de6f33bd5f537fd9d0a8611d2fd7052a
[FastISel][AArch64] Improve branch selection to support all FP conditions.

This adds the last two missing floating-point condition codes (FCMP_UEQ and
FCMP_ONE) also to the branch selection. In these two cases an additonal branch
instruction is required.

This also adds unit tests to checks all the different condition codes.

This is related o rdar://problem/18358882.

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