Subtarget feature bits are needed to change instprinter's behavior based
on feature bits.
Most of the other popular targets were updated back in 2015,
in https://reviews.llvm.org/rGb46d0234a6969
we should update it too.
Paths
| Differential D94449
[PowerPC][NFCI] PassSubtarget to ASMWriter ClosedPublic Authored by jsji on Jan 11 2021, 1:53 PM.
Details
Summary Subtarget feature bits are needed to change instprinter's behavior based Most of the other popular targets were updated back in 2015,
Diff Detail
Event TimelineHerald added subscribers: shchenz, kbarton, hiraditya, nemanjai. · View Herald TranscriptJan 11 2021, 1:53 PM jsji added a child revision: D94458: [PowerPC] Only use some extend mne if assembler is modern enough.Jan 11 2021, 3:10 PM Comment Actions Thanks Jinsong, LGTM.
Yep, please have [NFC] in the commit message title. This revision is now accepted and ready to land.Jan 12 2021, 7:40 AM jsji retitled this revision from [PowerPC] PassSubtarget to ASMWriter to [PowerPC][NFCI] PassSubtarget to ASMWriter.Jan 12 2021, 7:56 AM Comment Actions Please mention the commit that added this support initially (and maybe to one or two other targets) to the commit message. Closed by commit rG93b54b7c6733: [PowerPC][NFCI] PassSubtarget to ASMWriter (authored by jsji). · Explain WhyJan 12 2021, 8:25 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 316103 llvm/lib/Target/PowerPC/MCTargetDesc/PPCInstPrinter.h
llvm/lib/Target/PowerPC/MCTargetDesc/PPCInstPrinter.cpp
llvm/lib/Target/PowerPC/PPC.td
|