[AArch64][GlobalISel] Add default regbank mappings for mixed-type ops.
authorAhmed Bougacha <ahmed.bougacha@gmail.com>
Fri, 16 Sep 2016 14:44:51 +0000 (14:44 +0000)
committerAhmed Bougacha <ahmed.bougacha@gmail.com>
Fri, 16 Sep 2016 14:44:51 +0000 (14:44 +0000)
commit7306313e6d6db1cb494bd82d2cf5537edd450c35
treea892aebe4c253a4030c561a805ed82e5804e3255
parent02629aae3be67cd3ff72fcb5d945e0915723353a
[AArch64][GlobalISel] Add default regbank mappings for mixed-type ops.

We used to only support instructions with same-type operands.
Instead, use the per-register type information to map each
operand more accurately.

llvm-svn: 281734
llvm/lib/Target/AArch64/AArch64RegisterBankInfo.cpp
llvm/test/CodeGen/AArch64/GlobalISel/regbankselect-default.mir