summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCParser/AsmParser.cpp
diff options
context:
space:
mode:
authorQuentin Colombet <qcolombet@apple.com>2016-09-23 00:14:34 +0000
committerQuentin Colombet <qcolombet@apple.com>2016-09-23 00:14:34 +0000
commit1946580cf2a8474fe3990de3e402a5fa5c02a9c5 (patch)
tree429bd062f0669727d6b65879e5b0dd41a68210ad /llvm/lib/MC/MCParser/AsmParser.cpp
parent0afa7d6b823048cfcddf9fa8d2af5cda6b5c0649 (diff)
downloadbcm5719-llvm-1946580cf2a8474fe3990de3e402a5fa5c02a9c5.tar.gz
bcm5719-llvm-1946580cf2a8474fe3990de3e402a5fa5c02a9c5.zip
[RegisterBankInfo] Check that the mapping covers the interesting bits.
In the verify method of the ValueMapping class we used to check that the mapping exactly matches the bits of the input value. This is problematic for statically allocated mappings because we would need a different mapping for each different size of the value that maps on one instruction. For instance, with such scheme, we would need a different mapping for a value of size 1, 5, 23 whereas they all end up on a 32-bit wide instruction. Therefore, change the verifier to check that the meaningful bits are covered by the mapping instead of matching them. llvm-svn: 282214
Diffstat (limited to 'llvm/lib/MC/MCParser/AsmParser.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud