commit | 6443af0d08a50cfd14df7e46d4a789487b062465 | [log] [tgz] |
---|---|---|
author | Quentin Colombet <qcolombet@apple.com> | Tue Apr 05 23:26:39 2016 +0000 |
committer | Quentin Colombet <qcolombet@apple.com> | Tue Apr 05 23:26:39 2016 +0000 |
tree | 0810e87027b7ddc526390e96d35e967ca4240972 | |
parent | 8e366b3614afbc7adcb1d78a2b748e956bc048c0 [diff] |
[RegisterBankInfo] Simplify the API for build a register bank. As part of the TRI argument of addRegBankCoverage we already have access to the TargetRegisterClass through the ID of that register class. Therefore, there is no point in needing a TargetRegisterClass instance, the ID is enough to get to it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265487 91177308-0d34-0410-b5e6-96231b3b80d8