[PATCH] D132204: [RISCV] Generate correct ELF abi flag when empty .ll file has target-abi attribute
luxufan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 19 02:46:02 PDT 2022
StephenFan added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp:191
+ RTS.setTargetABI(RISCVABI::getTargetABI(ModuleTargetABI->getString()));
+ }
if (TM.getTargetTriple().isOSBinFormatELF())
----------------
The curly braces could be deleted?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132204/new/
https://reviews.llvm.org/D132204
More information about the llvm-commits
mailing list