[PATCH] Allow target to specify prefix for labels
Matt Arsenault
Matthew.Arsenault at amd.com
Mon Dec 1 12:56:49 PST 2014
Hi rafael,
Use the MCAsmInfo instead of the DataLayout, and allow
specifying a custom prefix for labels specifically. HSAIL
requires that labels begin with @, but global symbols with &.
http://reviews.llvm.org/D6467
Files:
include/llvm/MC/MCAsmInfo.h
lib/CodeGen/MachineBasicBlock.cpp
lib/MC/MCAsmInfo.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6467.16782.patch
Type: text/x-patch
Size: 2100 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141201/4e9b1069/attachment.bin>
More information about the llvm-commits
mailing list