llvm-6502/tools
Hal Finkel 435798e96a 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).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189499 91177308-0d34-0410-b5e6-96231b3b80d8
2013-08-28 18:33:10 +00:00
..
bugpoint [bugpoint] Allow the user to specify the path to opt on the commandline. 2013-08-05 21:07:07 +00:00
bugpoint-passes
gold Revert r188188 and r188200. 2013-08-12 21:07:31 +00:00
llc Use function attributes to indicate that we don't want to realign the stack. 2013-08-01 21:42:05 +00:00
lli lli/RecordingMemoryManager.cpp: Make it complain if _GLOBAL_OFFSET_TABLE_ were not provided. 2013-08-21 02:37:14 +00:00
llvm-ar Add a minimal implementation of ranlib. 2013-08-28 16:22:16 +00:00
llvm-as Add a wrapper for open. 2013-07-16 19:44:17 +00:00
llvm-bcanalyzer keep only the StringRef version of getFileOrSTDIN. 2013-06-25 05:28:34 +00:00
llvm-config cmake: Prevent semicolon separated lists in llvm-config (PR17020) 2013-08-28 17:04:06 +00:00
llvm-cov
llvm-diff
llvm-dis Add a wrapper for open. 2013-07-16 19:44:17 +00:00
llvm-dwarfdump llvm-dwarfdump: Add support for dumping the .debug_loc section 2013-06-19 21:37:13 +00:00
llvm-extract Add a wrapper for open. 2013-07-16 19:44:17 +00:00
llvm-jitlistener
llvm-link Add a wrapper for open. 2013-07-16 19:44:17 +00:00
llvm-mc Improve llvm-mc disassembler mode and refactor ARM tests to use it 2013-07-19 10:05:04 +00:00
llvm-mcmarkup
llvm-nm Don't crash in 'llvm -s' when an archive has no symtab. 2013-07-10 20:14:22 +00:00
llvm-objdump Revert "Fix the build broken by r189315." and "Move everything depending on Object/MachOFormat.h over to Support/MachO.h." 2013-08-27 05:38:30 +00:00
llvm-prof
llvm-readobj Revert "Fix the build broken by r189315." and "Move everything depending on Object/MachOFormat.h over to Support/MachO.h." 2013-08-27 05:38:30 +00:00
llvm-rtdyld Unbreak llvm-rtdyld build. 2013-08-03 22:18:45 +00:00
llvm-shlib Use @rpath for libraries rather than @executable_path on OSX. 2013-08-02 01:51:52 +00:00
llvm-size
llvm-stress Add a wrapper for open. 2013-07-16 19:44:17 +00:00
llvm-symbolizer llvm-symbolizer: use real path when looking for debug binary location 2013-08-26 18:12:03 +00:00
lto Revert 189297, the original commit message is following. 2013-08-27 17:15:54 +00:00
macho-dump Revert "Fix the build broken by r189315." and "Move everything depending on Object/MachOFormat.h over to Support/MachO.h." 2013-08-27 05:38:30 +00:00
msbuild cmake: Add msbuild integration to the install 2013-08-28 01:19:26 +00:00
obj2yaml Don't link with the archive library programs that don't use it. 2013-06-17 15:29:46 +00:00
opt Disable unrolling in the loop vectorizer when disabled in the pass manager 2013-08-28 18:33:10 +00:00
yaml2obj [Object] Split the ELF interface into 3 parts. 2013-08-08 22:27:13 +00:00
CMakeLists.txt [CMake] Put back the add_llvm_external_project() calls for specific projects. 2013-08-27 23:27:56 +00:00
LLVMBuild.txt Remove the LLVM specific archive index. 2013-06-14 23:25:53 +00:00
Makefile Remove the LLVM specific archive index. 2013-06-14 23:25:53 +00:00