]> granicus.if.org Git - llvm/commitdiff
The patch fixes r296770
authorEvgeny Stupachenko <evstupac@gmail.com>
Thu, 2 Mar 2017 19:41:38 +0000 (19:41 +0000)
committerEvgeny Stupachenko <evstupac@gmail.com>
Thu, 2 Mar 2017 19:41:38 +0000 (19:41 +0000)
Summary:

Extend -unroll-partial-threshold to 200 for runtime-loop3.ll test
as epilogue unroll initially add 1 more IV to the loop.

From: Evgeny Stupachenko <evstupac@gmail.com>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296803 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/LoopUnroll/runtime-loop3.ll

index ef39a29fa89e2be96491a67602a9116ca7ca5b55..253993ee42d43c7b6f5cf706f2832d3217a006a2 100644 (file)
@@ -1,6 +1,6 @@
 ; REQUIRES: asserts
-; RUN: opt < %s -disable-output -stats -loop-unroll -unroll-runtime -unroll-threshold=400 -info-output-file - | FileCheck %s --check-prefix=STATS
-; RUN: opt < %s -disable-output -stats -passes='require<opt-remark-emit>,loop(unroll)' -unroll-runtime -unroll-threshold=400 -info-output-file - | FileCheck %s --check-prefix=STATS
+; RUN: opt < %s -disable-output -stats -loop-unroll -unroll-runtime -unroll-partial-threshold=200 -unroll-threshold=400 -info-output-file - | FileCheck %s --check-prefix=STATS
+; RUN: opt < %s -disable-output -stats -passes='require<opt-remark-emit>,loop(unroll)' -unroll-runtime -unroll-partial-threshold=200 -unroll-threshold=400 -info-output-file - | FileCheck %s --check-prefix=STATS
 
 ; Test that nested loops can be unrolled.  We need to increase threshold to do it