summaryrefslogtreecommitdiffstats
path: root/polly/lib/Support/VirtualInstruction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'polly/lib/Support/VirtualInstruction.cpp')
-rw-r--r--polly/lib/Support/VirtualInstruction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/Support/VirtualInstruction.cpp b/polly/lib/Support/VirtualInstruction.cpp
index 22f09010582..13b0d74bec3 100644
--- a/polly/lib/Support/VirtualInstruction.cpp
+++ b/polly/lib/Support/VirtualInstruction.cpp
@@ -73,7 +73,7 @@ VirtualUse VirtualUse::create(Scop *S, ScopStmt *UserStmt, Loop *UserScope,
// A use is inter-statement if either it is defined in another statement, or
// there is a MemoryAccess that reads its value that has been written by
// another statement.
- if (InputMA || (!Virtual && !UserStmt->contains(Inst->getParent())))
+ if (InputMA || (!Virtual && !UserStmt->represents(Inst->getParent())))
return VirtualUse(UserStmt, Val, Inter, nullptr, InputMA);
return VirtualUse(UserStmt, Val, Intra, nullptr, nullptr);
OpenPOWER on IntegriCloud