[llvm] [AssumptionCache] Fix removeAffectedValues() when value is repeated in AssumeInst (PR #205275)
Nikolas Klauser via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 23 23:54:33 PDT 2026
================
@@ -119,6 +119,23 @@ void AssumptionCache::removeAffectedValues(AssumeInst *CI) {
SmallVector<AssumptionCache::ResultElem, 16> Affected;
findAffectedValues(CI, TTI, Affected);
+ DenseMap<Value *, int> ExpectedMatches;
----------------
philnik777 wrote:
This is essentially only to make sure the `assert(Found)` doesn't fire, right? Can we make this debug-only code?
https://github.com/llvm/llvm-project/pull/205275
More information about the llvm-commits
mailing list