Enable default outlining when the function has the minsize attribute.
addr-label.ll crashed after enabling this, so a barrier is added before
instruction selection as a workaround.
Paths
| Differential D122213
[RISCV] Enable MachineOutliner by default under -Oz for RISCV ClosedPublic Authored by • pcwang-thead on Mar 22 2022, 1:19 AM.
Details Summary Enable default outlining when the function has the minsize attribute. addr-label.ll crashed after enabling this, so a barrier is added before
Diff Detail
Event TimelineComment Actions It's probably a good idea to separate the fixes from the change to the default enable. Comment Actions
I have separated this patch into three patches: This revision is now accepted and ready to land.May 3 2022, 4:07 AM This revision was landed with ongoing or failed builds.May 6 2022, 2:38 AM Closed by commit rG4ff5e8184c66: [RISCV] Enable MachineOutliner by default under -Oz for RISCV (authored by • pcwang-thead). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 427574 llvm/lib/Target/RISCV/CMakeLists.txt
llvm/lib/Target/RISCV/RISCVInstrInfo.h
llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
llvm/test/CodeGen/RISCV/O3-pipeline.ll
|