diff options
| author | Hal Finkel <hfinkel@anl.gov> | 2013-08-28 04:40:22 +0000 |
|---|---|---|
| committer | Hal Finkel <hfinkel@anl.gov> | 2013-08-28 04:40:22 +0000 |
| commit | f95b589220c9b2d28598a1e47831e75e890b7c80 (patch) | |
| tree | 03e73971fa83fcdd9cbeeaf87191581f51807563 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | b1aa16a18563ebb6824fbe7267420942c802a8ca (diff) | |
| download | clang-f95b589220c9b2d28598a1e47831e75e890b7c80.tar.gz clang-f95b589220c9b2d28598a1e47831e75e890b7c80.tar.bz2 clang-f95b589220c9b2d28598a1e47831e75e890b7c80.tar.xz | |
Disable loop vectorizer unrolling when no unrolling requested
In addition to the regular loop unrolling transformation, the loop vectorizer
can also unroll loops. If no unrolling has specifically been requested (by
-fno-unroll-loops), and the loop vectorizer will be used, then add the backend
option to (also) prevent the loop vectorizer from unrolling loops.
I confirmed with Nadav (off list) that disabling vectorizer loop unrolling when
-fno-unroll-loops is provided is the desired behavior.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189440 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
