diff options
| author | Alexander Potapenko <glider@google.com> | 2015-01-21 13:52:02 +0000 |
|---|---|---|
| committer | Alexander Potapenko <glider@google.com> | 2015-01-21 13:52:02 +0000 |
| commit | 4ac461c35f0f6a5ce47caa7df3555564e0d13917 (patch) | |
| tree | 3dc589d4dce9c5bf15e65555ee324223f879d879 | |
| parent | 3ab6b2347e8d940b0687fb693c861c68d1e50998 (diff) | |
| download | bcm5719-llvm-4ac461c35f0f6a5ce47caa7df3555564e0d13917.tar.gz bcm5719-llvm-4ac461c35f0f6a5ce47caa7df3555564e0d13917.zip | |
Use a smaller pragma unroll threshold to reduce test execution time.
When opt is compiled with AddressSanitizer it takes more than 30 seconds
to unroll the loop in unroll_1M().
llvm-svn: 226660
| -rw-r--r-- | llvm/test/Transforms/LoopUnroll/unroll-pragmas.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Transforms/LoopUnroll/unroll-pragmas.ll b/llvm/test/Transforms/LoopUnroll/unroll-pragmas.ll index d53fa49cc9f..583155758d1 100644 --- a/llvm/test/Transforms/LoopUnroll/unroll-pragmas.ll +++ b/llvm/test/Transforms/LoopUnroll/unroll-pragmas.ll @@ -1,5 +1,5 @@ -; RUN: opt < %s -loop-unroll -S | FileCheck %s -; RUN: opt < %s -loop-unroll -loop-unroll -S | FileCheck %s +; RUN: opt < %s -loop-unroll -pragma-unroll-threshold=1024 -S | FileCheck %s +; RUN: opt < %s -loop-unroll -loop-unroll -pragma-unroll-threshold=1024 -S | FileCheck %s ; ; Run loop unrolling twice to verify that loop unrolling metadata is properly ; removed and further unrolling is disabled after the pass is run once. |

