[PATCH] D150560: [AArch64] Avoid RegScavenger::forward in AArch64SpeculationHardening
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 15 05:26:49 PDT 2023
foad added inline comments.
================
Comment at: llvm/lib/Target/AArch64/AArch64SpeculationHardening.cpp:299-302
+ if (I == MBB.begin())
+ RS.enterBasicBlock(MBB);
+ else
+ RS.backward(std::prev(I));
----------------
It is unfortunate that `RegScavenger::backward(MachineBasicBlock::iterator)` does not provide a way to step back to the state right at the start of the MBB.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150560/new/
https://reviews.llvm.org/D150560
More information about the llvm-commits
mailing list