[PATCH] D80953: [AIX] asm output: use character literals in byte lists for strings
Hubert Tong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 1 14:39:30 PDT 2020
hubert.reinterpretcast created this revision.
hubert.reinterpretcast added reviewers: jasonliu, daltenty, cebowleratibm.
Herald added subscribers: hiraditya, nemanjai.
Herald added a project: LLVM.
This patch improves the assembly output produced for string literals by using character literals in byte lists. This provides the benefits of having printable characters appear as such in the assembly output and of having strings kept as logical units on the same line.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D80953
Files:
llvm/include/llvm/MC/MCAsmInfo.h
llvm/lib/MC/MCAsmInfoXCOFF.cpp
llvm/lib/MC/MCAsmStreamer.cpp
llvm/test/CodeGen/PowerPC/aix-bytestring.ll
llvm/test/CodeGen/PowerPC/aix-xcoff-data.ll
llvm/test/CodeGen/PowerPC/aix-xcoff-mergeable-str.ll
llvm/test/CodeGen/PowerPC/aix-xcoff-rodata.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80953.267730.patch
Type: text/x-patch
Size: 9476 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200601/08eecfea/attachment.bin>
More information about the llvm-commits
mailing list