summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachinePostDominators.cpp
diff options
context:
space:
mode:
authorJustin Holewinski <jholewinski@nvidia.com>2013-10-11 12:39:36 +0000
committerJustin Holewinski <jholewinski@nvidia.com>2013-10-11 12:39:36 +0000
commit660597d190b35ad4d1ae99de0d9c1f2e5595565b (patch)
tree8b4b970db4ba852c092fc670a8599f2f15b38468 /llvm/lib/CodeGen/MachinePostDominators.cpp
parent6c5e943953b302ca1af592565f14b969bf1f14a3 (diff)
downloadbcm5719-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/MachinePostDominators.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud