1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test
Chandler Carruth fda9b703c9 [PM] Fix a nasty bug in the new PM where we failed to properly
invalidation of analyses when merging SCCs.

While I've added a bunch of testing of this, it takes something much
more like the inliner to really trigger this as you need to have
partially-analyzed SCCs with updates at just the right time. So I've
added a direct test for this using the inliner and verifying the
domtree. Without the changes here, this test ends up finding a stale
dominator tree.

However, to handle this properly, we need to invalidate analyses
*before* merging the SCCs. After talking to Philip and Sanjoy about this
they convinced me this was the right approach. To do this, we need
a callback mechanism when merging SCCs so we can observe the cycle that
will be merged before the merge happens. This API update ended up being
surprisingly easy.

With this commit, the new PM passes the test-suite again. It hadn't
since MemorySSA was enabled for EarlyCSE as that also will find this bug
very quickly.

llvm-svn: 307498
2017-07-09 13:45:11 +00:00
..
Analysis Re-enable "[IndVars] Canonicalize comparisons between non-negative values and indvars" 2017-07-08 17:17:30 +00:00
Assembler
Bindings
Bitcode Increase the import-threshold for crtical functions. 2017-07-07 21:01:00 +00:00
BugPoint
CodeGen [GlobalISel][X86] Add legalizer tests for G_LOAD/G_STORE operations. NFC. 2017-07-09 07:25:57 +00:00
DebugInfo [PDB] Teach libpdb to write DBI Stream ECNames. 2017-07-07 05:04:36 +00:00
Examples
ExecutionEngine
Feature
FileCheck
Instrumentation Revert r307342, r307343. 2017-07-07 01:31:23 +00:00
Integer
JitListener
LibDriver
Linker
LTO [LTO] Fix the interaction between linker redefined symbols and ThinLTO 2017-07-06 19:58:26 +00:00
MC [AMDGPU][mc][gfx9] Added support of op_sel/op_sel_hi for V_MAD_MIX* 2017-07-07 14:29:06 +00:00
Object
ObjectYAML
Other
SafepointIRVerifier [SafepointIRVerifier] Avoid false positives in GC verifier for compare between pointers 2017-07-07 13:02:29 +00:00
SymbolRewriter
TableGen [TableGen] Add a proper namespace to an Instruction in an AsmMatcher test. This is required after r307358. 2017-07-07 05:50:45 +00:00
ThinLTO/X86
tools [PDB] Add a test that verifies every known type record. 2017-07-05 18:43:25 +00:00
Transforms [PM] Fix a nasty bug in the new PM where we failed to properly 2017-07-09 13:45:11 +00:00
Unit Change remaining references to lit.util.capture to use subprocess.check_output. 2017-07-06 21:46:47 +00:00
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg Change remaining references to lit.util.capture to use subprocess.check_output. 2017-07-06 21:46:47 +00:00
lit.site.cfg.in
TestRunner.sh