summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetLoweringObjectFile.cpp
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2015-11-17 16:01:28 +0000
committerDan Gohman <dan433584@gmail.com>2015-11-17 16:01:28 +0000
commit7aa4abac245e918e82aa159964e5cee6569349e5 (patch)
tree305e1f01cded12871d686aa8c8c22fc9018849ff /llvm/lib/Target/TargetLoweringObjectFile.cpp
parentff39366de5cc8c1af278f0337dc185ddf4dc9d7e (diff)
downloadbcm5719-llvm-7aa4abac245e918e82aa159964e5cee6569349e5.tar.gz
bcm5719-llvm-7aa4abac245e918e82aa159964e5cee6569349e5.zip
Use TargetRegisterInfo for printing MachineOperand register comments
Several places in AsmPrinter.cpp print comments describing MachineOperand registers using MCRegisterInfo, which uses MCOperand-oriented names. This doesn't work for targets that use virtual registers exclusively, as WebAssembly does, since virtual registers are represented and printed differently. This patch preserves what seems to be the spirit of r229978, avoiding the use of TM.getSubtargetImpl(), while still using MachineOperand-oriented printing for MachineOperands. Differential Revision: http://reviews.llvm.org/D14709 llvm-svn: 253338
Diffstat (limited to 'llvm/lib/Target/TargetLoweringObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud