summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/FunctionAttrs/arg_nocapture.ll
diff options
context:
space:
mode:
authorJohannes Doerfert <jdoerfert@anl.gov>2019-08-26 18:55:47 +0000
committerJohannes Doerfert <jdoerfert@anl.gov>2019-08-26 18:55:47 +0000
commitb504eb8bb5ed952533a4fbb113e5a63ba6fd859d (patch)
tree564eba3061edd8cae15f5be880723031ab393853 /llvm/test/Transforms/FunctionAttrs/arg_nocapture.ll
parent4d3a3366129ab97d00efa9943e34ae75802330d8 (diff)
downloadbcm5719-llvm-b504eb8bb5ed952533a4fbb113e5a63ba6fd859d.tar.gz
bcm5719-llvm-b504eb8bb5ed952533a4fbb113e5a63ba6fd859d.zip
[Attributor] Adjust and test the iteration bound of tests
Summary: Try to verify how many iterations we need for a fixpoint in our tests. This patch adjust the way we count to make it easier to follow. It also adjusts the bounds to actually account for a fixpoint and not only the minimum number to pass all checks. Reviewers: uenoku, sstefan1 Subscribers: hiraditya, bollu, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D66757 llvm-svn: 369945
Diffstat (limited to 'llvm/test/Transforms/FunctionAttrs/arg_nocapture.ll')
-rw-r--r--llvm/test/Transforms/FunctionAttrs/arg_nocapture.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/FunctionAttrs/arg_nocapture.ll b/llvm/test/Transforms/FunctionAttrs/arg_nocapture.ll
index 33a68cd0208..ffa0fe5d346 100644
--- a/llvm/test/Transforms/FunctionAttrs/arg_nocapture.ll
+++ b/llvm/test/Transforms/FunctionAttrs/arg_nocapture.ll
@@ -1,4 +1,4 @@
-; RUN: opt -functionattrs -attributor -attributor-disable=false -attributor-max-iterations=19 -S < %s | FileCheck %s
+; RUN: opt -functionattrs -attributor -attributor-disable=false -attributor-max-iterations-verify -attributor-max-iterations=18 -S < %s | FileCheck %s
;
; Test cases specifically designed for the "no-capture" argument attribute.
; We use FIXME's to indicate problems and missing attributes.
OpenPOWER on IntegriCloud