summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms
diff options
context:
space:
mode:
authorMichael Zolotukhin <mzolotukhin@apple.com>2016-05-24 01:22:20 +0000
committerMichael Zolotukhin <mzolotukhin@apple.com>2016-05-24 01:22:20 +0000
commit96c150d154d2c908933b8eacf19176bef50ecc8f (patch)
tree0047028eac86d7d17a8c39b4a9ee298cb16bef57 /llvm/test/Transforms
parent3898b2b587e07b427e8e5126d4b077f02a61b9f1 (diff)
downloadbcm5719-llvm-96c150d154d2c908933b8eacf19176bef50ecc8f.tar.gz
bcm5719-llvm-96c150d154d2c908933b8eacf19176bef50ecc8f.zip
Revert "Revert r270478 "[LoopUnroll] Enable advanced unrolling analysis by default.""
This reverts commit r270512 and reapplies r270478. Originally it caused PR27847, but it was fixed in r270517. llvm-svn: 270518
Diffstat (limited to 'llvm/test/Transforms')
-rw-r--r--llvm/test/Transforms/LoopUnroll/partial-unroll-const-bounds.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/LoopUnroll/partial-unroll-const-bounds.ll b/llvm/test/Transforms/LoopUnroll/partial-unroll-const-bounds.ll
index c22a143c751..5646aeaa7b9 100644
--- a/llvm/test/Transforms/LoopUnroll/partial-unroll-const-bounds.ll
+++ b/llvm/test/Transforms/LoopUnroll/partial-unroll-const-bounds.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -S -unroll-threshold=20 -loop-unroll -unroll-allow-partial -unroll-runtime | FileCheck %s
+; RUN: opt < %s -S -unroll-threshold=20 -loop-unroll -unroll-allow-partial -unroll-runtime -unroll-dynamic-cost-savings-discount=0 | FileCheck %s
; The Loop TripCount is 9. However unroll factors 3 or 9 exceed given threshold.
; The test checks that we choose a smaller, power-of-two, unroll count and do not give up on unrolling.
OpenPOWER on IntegriCloud