SSA: Replace use-use step implementation in data-flow integration.

This commit is contained in:
Anders Schack-Mulligen
2025-02-24 10:58:14 +01:00
parent 4e515bc2f5
commit 09b2aeb53a
2 changed files with 42 additions and 68 deletions

View File

@@ -1270,8 +1270,8 @@ Node getNodeFromSsa2(Ssa2::Node node) {
}
private predicate useUseFlow(Node node1, Node node2) {
exists(Ssa2::DefinitionExt def, Ssa2::Node ssa1, Ssa2::Node ssa2 |
Ssa2::localFlowStep(def, ssa1, ssa2, _) and
exists(Ssa2::Node ssa1, Ssa2::Node ssa2 |
Ssa2::localFlowStep(_, ssa1, ssa2, _) and
node1 = getNodeFromSsa2(ssa1) and
node2 = getNodeFromSsa2(ssa2) and
not node1.getTopLevel().isExterns()