[PATCH] D62190: [RISCV] Allow shrink wrapping for RISC-V
Ana Pazos via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 17 15:25:10 PDT 2019
apazos added a comment.
Lewis, I am not seeing any code change.
Btw to turn it on by default on a the target you need to add enableShrinkWrapping implementation in RISCVFrameLowering.h
+ /// Returns true if the target will correctly handle shrink wrapping.
+ bool enableShrinkWrapping(const MachineFunction &MF) const override {
+ return true;
+ }
+
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62190/new/
https://reviews.llvm.org/D62190
More information about the llvm-commits
mailing list