From: Alexander Potapenko Date: Wed, 21 Jan 2015 13:52:02 +0000 (+0000) Subject: Use a smaller pragma unroll threshold to reduce test execution time. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=506c6ec22a4d204a3c9c6c8c55ee0b3ca4c02d11;p=oota-llvm.git 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(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226660 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/LoopUnroll/unroll-pragmas.ll b/test/Transforms/LoopUnroll/unroll-pragmas.ll index d53fa49cc9f..583155758d1 100644 --- a/test/Transforms/LoopUnroll/unroll-pragmas.ll +++ b/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.