Go to file
Hal Finkel 6d09904cc9 Disable unrolling in the loop vectorizer when disabled in the pass manager
When unrolling is disabled in the pass manager, the loop vectorizer should also
not unroll loops. This will allow the -fno-unroll-loops option in Clang to
behave as expected (even for vectorizable loops). The loop vectorizer's
-force-vector-unroll option will (continue to) override the pass-manager
setting (including -force-vector-unroll=0 to force use of the internal
auto-selection logic).

In order to test this, I added a flag to opt (-disable-loop-unrolling) to force
disable unrolling through opt (the analog of -fno-unroll-loops in Clang). Also,
this fixes a small bug in opt where the loop vectorizer was enabled only after
the pass manager populated the queue of passes (the global_alias.ll test needed
a slight update to the RUN line as a result of this fix).

llvm-svn: 189499
2013-08-28 18:33:10 +00:00
clang Debug Info testing case: move uuid-related testing to a separate file. 2013-08-28 18:31:02 +00:00
clang-tools-extra clang-replace: Afford applying replacements in memory 2013-08-28 17:19:10 +00:00
compiler-rt cmake: Add /Oy- (don't omit frame pointer) to compile flags 2013-08-28 16:14:59 +00:00
debuginfo-tests Now that we get non-trivial value parameters locations correct, un-XFAIL these tests. 2013-06-19 22:07:11 +00:00
libclc Add mul_hi implementation [v2] 2013-08-19 18:31:49 +00:00
libcxx Marked #2163 as complete in previous commit instead of #2162. Corrected. 2013-08-27 20:25:06 +00:00
libcxxabi Propagate the removal of _LIBCPP_CANTTHROW (r189046) to libcxxabi. This fixes http://llvm.org/bugs/show_bug.cgi?id=16996. 2013-08-25 17:00:57 +00:00
lld Remove an option starting an uppercase character so that the test does not depends on sort order. 2013-08-28 00:01:57 +00:00
lldb Add missing "sys/stat.h" include 2013-08-28 16:06:16 +00:00
llvm Disable unrolling in the loop vectorizer when disabled in the pass manager 2013-08-28 18:33:10 +00:00
polly Remove unneeded comma and update formatting 2013-08-24 17:58:59 +00:00