[PATCH] D142777: [RISCV] Add asserts that we don't increase codesize during pseudo expansion
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 30 17:57:59 PST 2023
craig.topper added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVExpandPseudoInsts.cpp:291
MachineBasicBlock::iterator &NextMBBI);
+ unsigned getInstSizeInBytes(const MachineFunction &MF) const {
+ unsigned Size = 0;
----------------
Is any compiler smart enough to see that this is an unused method in a class in an anonymous namespace in release builds?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142777/new/
https://reviews.llvm.org/D142777
More information about the llvm-commits
mailing list