[PATCH] D120177: [BOLT] CMOVConversion pass
Alexander Yermolovich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 25 12:51:46 PST 2022
ayermolo added inline comments.
================
Comment at: bolt/lib/Passes/CMOVConversion.cpp:75
+ const MCInst *LastInst = BB.getLastNonPseudoInstr();
+ assert(LastInst);
+ for (const MCInst &Inst : BB) {
----------------
can bb only have pseudo instructions?
Maybe better to check and exit?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120177/new/
https://reviews.llvm.org/D120177
More information about the llvm-commits
mailing list