1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test
Adam Nemet ffa0068101 [LDist] Match behavior between invoking via optimization pipeline or opt -loop-distribute
In r267672, where the loop distribution pragma was introduced, I tried
it hard to keep the old behavior for opt: when opt is invoked
with -loop-distribute, it should distribute the loop (it's off by
default when ran via the optimization pipeline).

As MichaelZ has discovered this has the unintended consequence of
breaking a very common developer work-flow to reproduce compilations
using opt: First you print the pass pipeline of clang
with -debug-pass=Arguments and then invoking opt with the returned
arguments.

clang -debug-pass will include -loop-distribute but the pass is invoked
with default=off so nothing happens unless the loop carries the pragma.
While through opt (default=on) we will try to distribute all loops.

This changes opt's default to off as well to match clang.  The tests are
modified to explicitly enable the transformation.

llvm-svn: 290235
2016-12-21 04:07:40 +00:00
..
Analysis Add files I seem to have dropped in my revert (r290086). 2016-12-19 08:32:13 +00:00
Assembler [IR] Remove the DIExpression field from DIGlobalVariable. 2016-12-20 02:09:43 +00:00
Bindings
Bitcode IR: Eliminate non-determinism in the module summary analysis. 2016-12-20 21:12:28 +00:00
BugPoint
CodeGen remove pretty-print test that requires debug 2016-12-21 03:37:39 +00:00
DebugInfo [IR] Remove the DIExpression field from DIGlobalVariable. 2016-12-20 02:09:43 +00:00
Examples
ExecutionEngine Fix R_AARCH64_MOVW_UABS_G3 relocation 2016-12-15 22:36:53 +00:00
Feature
FileCheck [FileCheck] Fix --strict-whitespace --match-full-lines -- add test-case 2016-12-18 21:04:47 +00:00
Instrumentation [IR] Remove the DIExpression field from DIGlobalVariable. 2016-12-20 02:09:43 +00:00
Integer
JitListener
LibDriver LibDriver: Allow resource files to be archive members. 2016-12-15 19:37:46 +00:00
Linker [IR] Remove the DIExpression field from DIGlobalVariable. 2016-12-20 02:09:43 +00:00
LTO [IR] Remove the DIExpression field from DIGlobalVariable. 2016-12-20 02:09:43 +00:00
MC AMDGPU: [AMDGPU] Assembler: add .hsa_code_object_metadata directive for functime metadata V2.0 2016-12-19 11:43:15 +00:00
Object Object: Make IRObjectFile own multiple modules and enumerate symbols from all modules. 2016-12-13 20:20:17 +00:00
ObjectYAML Revert "[ObjectYAML] Support for DWARF debug_info section" 2016-12-20 22:36:42 +00:00
Other [PM] Further broaden this test's regex as both the CGSCC and Function 2016-12-10 07:59:59 +00:00
SymbolRewriter
TableGen
ThinLTO/X86 [IR] Remove the DIExpression field from DIGlobalVariable. 2016-12-20 02:09:43 +00:00
tools [IR] Remove the DIExpression field from DIGlobalVariable. 2016-12-20 02:09:43 +00:00
Transforms [LDist] Match behavior between invoking via optimization pipeline or opt -loop-distribute 2016-12-21 04:07:40 +00:00
Unit
Verifier [IR] Remove the DIExpression field from DIGlobalVariable. 2016-12-20 02:09:43 +00:00
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg lit.cfg: Check value of build config rather than converting to boolean 2016-12-14 17:05:34 +00:00
lit.site.cfg.in Revert gold part of change, just liblto 2016-12-14 16:20:25 +00:00
TestRunner.sh