aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugValues.cpp
diff options
context:
space:
mode:
authorQuentin Colombet <qcolombet@apple.com>2017-01-28 02:23:48 +0000
committerQuentin Colombet <qcolombet@apple.com>2017-01-28 02:23:48 +0000
commit8cf1163c4fc25dc29ca7afc3b541ec777c3e1b2d (patch)
tree720effd300d9d5f5ebe757326f0f39ea443728a7 /llvm/lib/CodeGen/LiveDebugValues.cpp
parent2f1ab4ba79d80e85df59eaecb29cf05a13175646 (diff)
downloadllvm-8cf1163c4fc25dc29ca7afc3b541ec777c3e1b2d.zip
llvm-8cf1163c4fc25dc29ca7afc3b541ec777c3e1b2d.tar.gz
llvm-8cf1163c4fc25dc29ca7afc3b541ec777c3e1b2d.tar.bz2
[RegisterBankInfo] Emit proper type for remapped registers.
When the OperandsMapper creates virtual registers, it used to just create plain scalar register with the right size. This may confuse the instruction selector because we lose the information of the instruction using those registers what supposed to do. The MachineVerifier complains about that already. With this patch, the OperandsMapper still creates plain scalar register, but the expectation is for the mapping function to remap the type properly. The default mapping function has been updated to do that. rdar://problem/30231850 llvm-svn: 293362
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues.cpp')
0 files changed, 0 insertions, 0 deletions