diff options
author | Michael Kuperstein <mkuper@google.com> | 2017-02-22 00:27:34 +0000 |
---|---|---|
committer | Michael Kuperstein <mkuper@google.com> | 2017-02-22 00:27:34 +0000 |
commit | 2b21febc6b0609a290ec99cc68cbfca2e1eb154d (patch) | |
tree | dc7657c61ee8bb51aa6147f6a19b5df2db75f14d /test/Transforms/LoopUnroll | |
parent | 7d9379397ac841f83a29fba2e02cedf5d8215791 (diff) |
[LoopUnroll] Enable PGO-based loop peeling by default.
This enables peeling of loops with low dynamic iteration count by default,
when profile information is available.
Differential Revision: https://reviews.llvm.org/D27734
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295796 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/LoopUnroll')
-rw-r--r-- | test/Transforms/LoopUnroll/peel-loop-pgo.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/LoopUnroll/peel-loop-pgo.ll b/test/Transforms/LoopUnroll/peel-loop-pgo.ll index a87d5643e7e..20c3878d03a 100644 --- a/test/Transforms/LoopUnroll/peel-loop-pgo.ll +++ b/test/Transforms/LoopUnroll/peel-loop-pgo.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -S -debug-only=loop-unroll -loop-unroll -unroll-allow-peeling 2>&1 | FileCheck %s +; RUN: opt < %s -S -debug-only=loop-unroll -loop-unroll 2>&1 | FileCheck %s ; REQUIRES: asserts ; Make sure we use the profile information correctly to peel-off 3 iterations |