llvm-6502/test
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
..
Analysis Fix lint assert on integer vector division 2013-08-26 23:29:33 +00:00
Assembler Debug Info: add an identifier field to DICompositeType. 2013-08-26 22:39:55 +00:00
Bindings/Ocaml [PR11606] ocaml bindings tests produce binaries in source dir 2013-08-23 00:55:32 +00:00
Bitcode Add function attribute 'optnone'. 2013-08-23 11:53:55 +00:00
BugPoint
CodeGen ARM: Use "dmb sy" for barriers on M-class CPUs 2013-08-28 14:39:19 +00:00
DebugInfo Add support for DW_FORM_dataN and DW_FORM_udata to the DIE hashing 2013-08-28 00:10:38 +00:00
ExecutionEngine
Feature Add function attribute 'optnone'. 2013-08-23 11:53:55 +00:00
FileCheck
Instrumentation DataFlowSanitizer: Implement trampolines for function pointers passed to custom functions. 2013-08-27 22:09:06 +00:00
Integer
JitListener Debug Info: add an identifier field to DICompositeType. 2013-08-26 22:39:55 +00:00
Linker Debug Info: add an identifier field to DICompositeType. 2013-08-26 22:39:55 +00:00
MC The integrated darwin assembler can hang in an infinite loop (or get an assert 2013-08-28 17:50:59 +00:00
Object Add a minimal implementation of ranlib. 2013-08-28 16:22:16 +00:00
Other Update to remove the no-frame-pointer-elim-non-leaf flag if it was set to 'false'. 2013-08-22 21:28:54 +00:00
TableGen FileCheckize some tests. 2013-08-22 20:46:05 +00:00
tools Fix wrong code offset for unwind code SET_FPREG. 2013-08-27 04:16:16 +00:00
Transforms Disable unrolling in the loop vectorizer when disabled in the pass manager 2013-08-28 18:33:10 +00:00
Unit
Verifier
YAMLParser
CMakeLists.txt
lit.cfg
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh