[llvm] [FuncSpec] Query SCCPSolver in more places (PR #114964)
Hari Limaye via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 5 04:11:35 PST 2024
================
@@ -91,12 +91,14 @@ static cl::opt<bool> SpecializeLiteralConstant(
"argument"));
bool InstCostVisitor::canEliminateSuccessor(BasicBlock *BB, BasicBlock *Succ,
- DenseSet<BasicBlock *> &DeadBlocks) {
+ DenseSet<BasicBlock *> &DeadBlocks,
+ const SCCPSolver &Solver) {
----------------
hazzlim wrote:
Good point - updated to be non-static (and const).
https://github.com/llvm/llvm-project/pull/114964
More information about the llvm-commits
mailing list