summaryrefslogtreecommitdiff
path: root/polly/lib/Analysis/ScopDetection.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2021-10-08 10:45:30 -0700
committerReid Kleckner <rnk@google.com>2021-10-08 10:46:05 -0700
commit46ef2e0bf995d8db4cbdf69f3d1bbc2487030ba0 (patch)
tree959b76a64c0d5bbe636f0c10bffb5207f81ab407 /polly/lib/Analysis/ScopDetection.cpp
parent3ab238af4fa44a12ff3d479dc7fac50332ad2875 (diff)
Update polly for removal of CallInst::arg_operands/getNumArgOperands
Fixes polly build
Diffstat (limited to 'polly/lib/Analysis/ScopDetection.cpp')
-rw-r--r--polly/lib/Analysis/ScopDetection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/Analysis/ScopDetection.cpp b/polly/lib/Analysis/ScopDetection.cpp
index 045d0f9dbe7d..393af1e5f605 100644
--- a/polly/lib/Analysis/ScopDetection.cpp
+++ b/polly/lib/Analysis/ScopDetection.cpp
@@ -729,7 +729,7 @@ bool ScopDetection::isValidCallInst(CallInst &CI,
case FMRB_OnlyReadsArgumentPointees:
case FMRB_OnlyAccessesArgumentPointees:
case FMRB_OnlyWritesArgumentPointees:
- for (const auto &Arg : CI.arg_operands()) {
+ for (const auto &Arg : CI.args()) {
if (!Arg->getType()->isPointerTy())
continue;