]> granicus.if.org Git - llvm/commit
[GlobalISel][AArch64] Save a copy on G_SELECT by fixing condition to GPR
authorJessica Paquette <jpaquette@apple.com>
Tue, 23 Jul 2019 21:39:50 +0000 (21:39 +0000)
committerJessica Paquette <jpaquette@apple.com>
Tue, 23 Jul 2019 21:39:50 +0000 (21:39 +0000)
commit47fe496b46f3919b3e3b299d01672b0d87dc3de1
tree1888029e40c6a360d2b878ed95a92110104c5721
parent3ed7fa201a4fc00fb25019f153c675c35eba11e3
[GlobalISel][AArch64] Save a copy on G_SELECT by fixing condition to GPR

The condition can never be fed by FPRs, so it should always be on a GPR.

Differential Revision: https://reviews.llvm.org/D65157

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366854 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64RegisterBankInfo.cpp
test/CodeGen/AArch64/GlobalISel/regbank-fp-use-def.mir
test/CodeGen/AArch64/GlobalISel/regbank-select.mir