[llvm] [FuncSpec] Query SCCPSolver in more places (PR #114964)
Hari Limaye via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 5 04:10:09 PST 2024
================
@@ -312,10 +317,10 @@ bool InstCostVisitor::discoverTransitivelyIncomingValues(
// Disregard self-references and dead incoming values.
if (auto *Inst = dyn_cast<Instruction>(V))
- if (Inst == PN || DeadBlocks.contains(PN->getIncomingBlock(I)))
----------------
hazzlim wrote:
> Can you use that function inside canEliminateSuccessor then?
https://github.com/llvm/llvm-project/pull/114964
More information about the llvm-commits
mailing list