SSA: Inline predicate to simplify negation.

This commit is contained in:
Anders Schack-Mulligen
2025-02-17 14:10:08 +01:00
parent 411aff6748
commit d6dc91d191

View File

@@ -388,7 +388,7 @@ module Make<LocationSig Location, InputSig<Location> Input> {
private predicate liveThrough(BasicBlock idom, BasicBlock bb, SourceVariable v) {
idom = getImmediateBasicBlockDominator(bb) and
liveAtExit(bb, v) and
not ssaRef(bb, _, v, Def())
not any(Definition def).definesAt(v, bb, _)
}
/**