| commit | 660597d190b35ad4d1ae99de0d9c1f2e5595565b | [log] [tgz] |
|---|---|---|
| author | Justin Holewinski <jholewinski@nvidia.com> | Fri Oct 11 12:39:36 2013 +0000 |
| committer | Justin Holewinski <jholewinski@nvidia.com> | Fri Oct 11 12:39:36 2013 +0000 |
| tree | 8b4b970db4ba852c092fc670a8599f2f15b38468 | |
| parent | 6c5e943953b302ca1af592565f14b969bf1f14a3 [diff] |
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