diff options
author | Justin Holewinski <jholewinski@nvidia.com> | 2013-10-11 12:39:36 +0000 |
---|---|---|
committer | Justin Holewinski <jholewinski@nvidia.com> | 2013-10-11 12:39:36 +0000 |
commit | 660597d190b35ad4d1ae99de0d9c1f2e5595565b (patch) | |
tree | 8b4b970db4ba852c092fc670a8599f2f15b38468 /llvm/lib/CodeGen/MachineTraceMetrics.cpp | |
parent | 6c5e943953b302ca1af592565f14b969bf1f14a3 (diff) | |
download | bcm5719-llvm-660597d190b35ad4d1ae99de0d9c1f2e5595565b.tar.gz bcm5719-llvm-660597d190b35ad4d1ae99de0d9c1f2e5595565b.zip |
Make AsmPrinter::emitImplicitDef a virtual method so targets can emit custom comments for implicit defs
For NVPTX, this fixes a crash where the emitImplicitDef implementation was expecting physical registers,
while NVPTX uses virtual registers (with a couple of exceptions). Now, the implicit def comment will be
emitted as a true PTX register name. Other targets can use this to customize the output of implicit def
comments.
Fixes PR17519
llvm-svn: 192444
Diffstat (limited to 'llvm/lib/CodeGen/MachineTraceMetrics.cpp')
0 files changed, 0 insertions, 0 deletions