Add a flag so that target can choose to use AsmParser for parsing inline asm.
And set the flag by default for AIX.
-no-intergrated-as will override this default if specified explicitly.
Paths
| Differential D105314
[AIX] Use AsmParser to do inline asm parsing ClosedPublic Authored by jsji on Jul 1 2021, 1:30 PM.
Details
Summary Add a flag so that target can choose to use AsmParser for parsing inline asm. -no-intergrated-as will override this default if specified explicitly.
Diff Detail
Event TimelineComment Actions Seems the X86 failures in the premerge tests need to be addressed. A little strange why that assertion only happens on X86 target. jsji added a parent revision: D105259: [AIX] Add dummy XCOFF MCAsmParserExtension.Jul 1 2021, 7:09 PM Comment Actions
That is because this depends on D105259, I have set the parent revision now. Comment Actions
Ah, OK, LGTM. Thanks This revision is now accepted and ready to land.Jul 1 2021, 8:27 PM Closed by commit rG03e9dcfd41d4: [AIX] Use AsmParser to do inline asm parsing (authored by jsji). · Explain WhyJul 2 2021, 9:12 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 356083 llvm/include/llvm/MC/MCAsmInfo.h
llvm/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
llvm/lib/CodeGen/LLVMTargetMachine.cpp
llvm/lib/MC/MCAsmInfo.cpp
llvm/lib/MC/MCAsmInfoXCOFF.cpp
llvm/test/CodeGen/PowerPC/inline-asm-label.ll
llvm/test/CodeGen/PowerPC/inline-asm-physical-fpr.ll
|