diff options
author | Evgeny Stupachenko <evstupac@gmail.com> | 2017-03-02 19:41:38 +0000 |
---|---|---|
committer | Evgeny Stupachenko <evstupac@gmail.com> | 2017-03-02 19:41:38 +0000 |
commit | d655ec56c325fd6959052ed6a01e82c09bc13fea (patch) | |
tree | 911d1a61f4f3588bc43e4f3bb833256eefe9ed16 /llvm/test/Transforms/LoopUnroll/runtime-loop3.ll | |
parent | 3499263c360e7643b3776d71a29e18d96f5a951a (diff) | |
download | bcm5719-llvm-d655ec56c325fd6959052ed6a01e82c09bc13fea.tar.gz bcm5719-llvm-d655ec56c325fd6959052ed6a01e82c09bc13fea.zip |
The patch fixes r296770
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>
llvm-svn: 296803
Diffstat (limited to 'llvm/test/Transforms/LoopUnroll/runtime-loop3.ll')
-rw-r--r-- | llvm/test/Transforms/LoopUnroll/runtime-loop3.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Transforms/LoopUnroll/runtime-loop3.ll b/llvm/test/Transforms/LoopUnroll/runtime-loop3.ll index ef39a29fa89..253993ee42d 100644 --- a/llvm/test/Transforms/LoopUnroll/runtime-loop3.ll +++ b/llvm/test/Transforms/LoopUnroll/runtime-loop3.ll @@ -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 |