1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/include/llvm
Hal Finkel a22a21165f 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
..
ADT Add a function object to compare the first or second component of a std::pair. 2013-08-24 12:54:27 +00:00
Analysis Turn MipsOptimizeMathLibCalls into a target-independent scalar transform 2013-08-23 10:27:02 +00:00
Assembly
Bitcode Add function attribute 'optnone'. 2013-08-23 11:53:55 +00:00
CodeGen Add a convenient PSetIterator for visiting pressure sets affected by a register. 2013-08-23 17:48:46 +00:00
Config [cmake] Check for realpath availability in CMake 2013-08-26 18:11:25 +00:00
DebugInfo Add support for DebugFission to DWARF parser 2013-08-27 09:20:22 +00:00
ExecutionEngine Fix include guards. 2013-08-20 22:52:02 +00:00
IR ARM: remove unused v(add|sub)hn and vqdml[as]l intrinsics. 2013-08-28 14:33:33 +00:00
IRReader
MC Remove support for the .debug_inlined section. No known software 2013-08-28 04:04:28 +00:00
Object 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
Option Revert "Option parsing: support case-insensitive option matching." as it broke Windows buildbot. 2013-08-28 00:02:06 +00:00
Support [BumpPtrAllocator] Move DefaultSlabAllocator to a member of BumpPtrAllocator, instead of a static variable. 2013-08-28 01:02:21 +00:00
TableGen [typo] An LLVM. 2013-08-16 23:30:19 +00:00
Target SelectionDAG: Use correct pointer size when lowering function arguments v2 2013-08-26 15:05:36 +00:00
Transforms Disable unrolling in the loop vectorizer when disabled in the pass manager 2013-08-28 18:33:10 +00:00
AutoUpgrade.h Remove trailing whitespace, fix file path in comment 2013-07-20 17:46:00 +00:00
CMakeLists.txt
DebugInfo.h Debug Info: add an identifier field to DICompositeType. 2013-08-26 22:39:55 +00:00
DIBuilder.h DIBuilder: take an optional StringRef to pass in unique identifier. 2013-08-27 23:06:40 +00:00
GVMaterializer.h
InitializePasses.h Turn MipsOptimizeMathLibCalls into a target-independent scalar transform 2013-08-23 10:27:02 +00:00
InstVisitor.h
LinkAllIR.h
LinkAllPasses.h Turn MipsOptimizeMathLibCalls into a target-independent scalar transform 2013-08-23 10:27:02 +00:00
Linker.h
Pass.h
PassAnalysisSupport.h
PassManager.h
PassManagers.h
PassRegistry.h
PassSupport.h