C++: Simplify expression

This commit is contained in:
Jeroen Ketema
2026-01-06 21:58:43 +01:00
parent 063e5d300e
commit c567197f29

View File

@@ -688,10 +688,9 @@ private module Cached {
conversionFlow(mid, instr, false, _)
)
or
exists(int ind0, Operand address |
exists(Operand address |
isDereference(operand.getDef(), address, _) and
isUseImpl(address, base, ind0) and
ind0 = ind - 1
isUseImpl(address, base, ind - 1)
)
}