summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/LoopStrengthReduce/lsr-comp-time.ll
diff options
context:
space:
mode:
authorSam Parker <sam.parker@arm.com>2018-11-29 08:34:22 +0000
committerSam Parker <sam.parker@arm.com>2018-11-29 08:34:22 +0000
commitd6ebf0108e6cc7bafeb9649dfea2f81e8f24e207 (patch)
treed2f1bee0ef97889c4ab3740e2ecc2fbe8007e4f0 /llvm/test/Transforms/LoopStrengthReduce/lsr-comp-time.ll
parent4e520107c1cbf40a1e91c00a9e51cc7611d8de7f (diff)
downloadbcm5719-llvm-d6ebf0108e6cc7bafeb9649dfea2f81e8f24e207.tar.gz
bcm5719-llvm-d6ebf0108e6cc7bafeb9649dfea2f81e8f24e207.zip
[LoopStrengthReduce] ComplexityLimit as an option
Convert ComplexityLimit into a command line value. Differential Revision: https://reviews.llvm.org/D54899 llvm-svn: 347843
Diffstat (limited to 'llvm/test/Transforms/LoopStrengthReduce/lsr-comp-time.ll')
-rw-r--r--llvm/test/Transforms/LoopStrengthReduce/lsr-comp-time.ll2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/Transforms/LoopStrengthReduce/lsr-comp-time.ll b/llvm/test/Transforms/LoopStrengthReduce/lsr-comp-time.ll
index 959d517a540..6221c4a2b04 100644
--- a/llvm/test/Transforms/LoopStrengthReduce/lsr-comp-time.ll
+++ b/llvm/test/Transforms/LoopStrengthReduce/lsr-comp-time.ll
@@ -1,4 +1,6 @@
; RUN: opt -loop-reduce -S < %s | FileCheck %s
+; RUN: opt -loop-reduce -lsr-complexity-limit=2147483647 -S < %s | FileCheck %s
+
; Test compile time should be <1sec (no hang).
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
OpenPOWER on IntegriCloud