Merge pull request #8730 from geoffw0/reachesperf

C++: Better join order for reachesWithoutAssignment.
This commit is contained in:
Mathias Vorreiter Pedersen
2022-05-24 09:22:21 +01:00
committed by GitHub

View File

@@ -549,7 +549,7 @@ module FlowVar_internal {
bb = this.(Loop).getStmt() and
v = this.getARelevantVariable()
or
this.reachesWithoutAssignment(bb.getAPredecessor(), v) and
this.reachesWithoutAssignment(pragma[only_bind_out](bb.getAPredecessor()), v) and
this.bbInLoop(bb)
) and
not assignsToVar(bb, v)