[AArch64][RegisterBankInfo] Compress the ValueMapping table a bit.
authorQuentin Colombet <qcolombet@apple.com>
Fri, 30 Sep 2016 21:46:17 +0000 (21:46 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Fri, 30 Sep 2016 21:46:17 +0000 (21:46 +0000)
commitb4afac7b3218226011e283902bb5c72dc94e6b2a
treead334b2a778ed1b85a0cd8e4b52f69bd0a114ec8
parent7fc5fe41c5ab5562dbeb5051cbdc71396aef7961
[AArch64][RegisterBankInfo] Compress the ValueMapping table a bit.

We don't need to have singleton ValueMapping on their own, we can just
reuse one of the elements of the 3-ops mapping.
This allows even more code sharing.

NFC.

llvm-svn: 282959
llvm/lib/Target/AArch64/AArch64GenRegisterBankInfo.def
llvm/lib/Target/AArch64/AArch64RegisterBankInfo.cpp