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
This commit is contained in:
Alexander Potapenko 2015-01-21 13:52:02 +00:00
parent 3ab6b2347e
commit 4ac461c35f
1 changed files with 2 additions and 2 deletions

View File

@ -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.