This patch adds support for generating assembly code for one-byte mergeable strings.
Generating assembly code for multi-byte mergeable strings and the XCOFF object code for mergeable strings will be supported later.
Paths
| Differential D70310
[AIX][XCOFF] Add support for generating assembly code for one-byte mergable strings ClosedPublic Authored by xingxue on Nov 15 2019, 6:55 AM.
Details Summary This patch adds support for generating assembly code for one-byte mergeable strings. Generating assembly code for multi-byte mergeable strings and the XCOFF object code for mergeable strings will be supported later.
Diff Detail
Event TimelineHerald added subscribers: llvm-commits, jsji, kbarton and 2 others. · View Herald TranscriptNov 15 2019, 6:55 AM Comment Actions LGTM
This revision is now accepted and ready to land.Nov 18 2019, 8:37 AM Closed by commit rG5665fc91fe93: [AIX][XCOFF] Add support for generating assembly code for one-byte mergable… (authored by xingxue). · Explain WhyNov 20 2019, 8:34 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 229534 llvm/lib/BinaryFormat/XCOFF.cpp
llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
llvm/lib/MC/MCSectionXCOFF.cpp
llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
llvm/test/CodeGen/PowerPC/aix-xcoff-mergeable-str.ll
|
aside: we should probably eventually think about simplifying and cleaning up the logic in this function since we almost always just want to print .csect QUALNAME after asserting some things for unimplemented features