[PATCH] D119669: [NVPTX] Prefix "$L__" for branch label names
Dmitry Vassiliev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 13 09:25:45 PST 2022
slydiman created this revision.
slydiman added reviewers: JackAKirk, rnk, kazu, flip1995, MaskRay, asavonic, krisb.
slydiman added a project: LLVM.
Herald added subscribers: hiraditya, jholewinski.
slydiman requested review of this revision.
Herald added a subscriber: llvm-commits.
A global variable may have the same name as a label, and ptxas does not accept it.
Prefix labels with $L__ to fix this.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D119669
Files:
llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.cpp
llvm/test/CodeGen/NVPTX/f16-instructions.ll
llvm/test/CodeGen/NVPTX/label-var-prefix.ll
llvm/test/CodeGen/NVPTX/lower-aggr-copies.ll
llvm/test/DebugInfo/NVPTX/cu-range-hole.ll
llvm/test/DebugInfo/NVPTX/dbg-declare-alloca.ll
llvm/test/DebugInfo/NVPTX/debug-addr-class.ll
llvm/test/DebugInfo/NVPTX/debug-file-loc.ll
llvm/test/DebugInfo/NVPTX/debug-info.ll
llvm/test/DebugInfo/NVPTX/debug-loc-offset.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119669.408274.patch
Type: text/x-patch
Size: 19049 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220213/cf28c4b9/attachment.bin>
More information about the llvm-commits
mailing list