[AArch64][RegisterBankInfo] Refactor the code to access AArch64::ValMapping
authorQuentin Colombet <qcolombet@apple.com>
Fri, 30 Sep 2016 21:46:15 +0000 (21:46 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Fri, 30 Sep 2016 21:46:15 +0000 (21:46 +0000)
commit7fc5fe41c5ab5562dbeb5051cbdc71396aef7961
tree65e97ff4389a9b9e2c951cf5c440b7e77768ef66
parent15dc25bb3d08ee50c03d62275178fc621d9079dd
[AArch64][RegisterBankInfo] Refactor the code to access AArch64::ValMapping

Use a helper function to access ValMapping. This should make the code
easier to understand and maintain.

NFC.

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