llvm-6502/tools
Arnold Schwaighofer b26fb77d9b Add an option to the LTO code generator to disable vectorization during LTO
We used to always vectorize (slp and loop vectorize) in the LTO pass pipeline.

r220345 changed it so that we used the PassManager's fields 'LoopVectorize' and
'SLPVectorize' out of the desire to be able to disable vectorization using the
cl::opt flags 'vectorize-loops'/'slp-vectorize' which the before mentioned
fields default to.
Unfortunately, this turns off vectorization because those fields
default to false.
This commit adds flags to the LTO library to disable lto vectorization which
reconciles the desire to optionally disable vectorization during LTO and
the desired behavior of defaulting to enabled vectorization.

We really want tools to set PassManager flags directly to enable/disable
vectorization and not go the route via cl::opt flags *in*
PassManagerBuilder.cpp.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220652 91177308-0d34-0410-b5e6-96231b3b80d8
2014-10-26 21:50:58 +00:00
..
bugpoint Update the error handling of lib/Linker. 2014-10-25 04:06:10 +00:00
bugpoint-passes
gold Remove unused variable. 2014-10-25 04:07:53 +00:00
llc
lli
llvm-ar Make two helper functions static. 2014-10-22 15:05:51 +00:00
llvm-as
llvm-bcanalyzer
llvm-c-test
llvm-config
llvm-cov
llvm-diff
llvm-dis
llvm-dwarfdump
llvm-extract Modernize the error handling of the Materialize function. 2014-10-24 22:50:48 +00:00
llvm-go Add llvm-go tool. 2014-10-23 02:33:23 +00:00
llvm-jitlistener [CMake] Prune CRLF in CMakeLists.txt(s). 2014-10-23 11:31:50 +00:00
llvm-link Update the error handling of lib/Linker. 2014-10-25 04:06:10 +00:00
llvm-lto Add an option to the LTO code generator to disable vectorization during LTO 2014-10-26 21:50:58 +00:00
llvm-mc Simplify handling of --noexecstack by using getNonexecutableStackSection. 2014-10-15 16:12:52 +00:00
llvm-mcmarkup
llvm-nm
llvm-objdump MachODump.cpp: fix MSVC build 2014-10-23 21:59:17 +00:00
llvm-profdata
llvm-readobj PR21189: Teach llvm-readobj to dump bits of COFF symbol subsections required to debug using VS2012+ 2014-10-23 22:25:31 +00:00
llvm-rtdyld
llvm-shlib Adding llvm-shlib to CMake build system with a few new bells and whistles 2014-10-23 17:22:14 +00:00
llvm-size
llvm-stress
llvm-symbolizer [llvm-symbolizer] Introduce the -dsym-hint option. 2014-10-17 00:50:19 +00:00
llvm-vtabledump
lto Add an option to the LTO code generator to disable vectorization during LTO 2014-10-26 21:50:58 +00:00
macho-dump
msbuild
obj2yaml
opt Delete -std-compile-opts. 2014-10-16 20:00:02 +00:00
verify-uselistorder
yaml2obj Fixing a -Wsign-compare warning; NFC. 2014-10-22 13:09:43 +00:00
CMakeLists.txt Adding llvm-shlib to CMake build system with a few new bells and whistles 2014-10-23 17:22:14 +00:00
LLVMBuild.txt
Makefile Add llvm-go tool. 2014-10-23 02:33:23 +00:00