1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 04:22:57 +02:00
llvm-mirror/test
Anna Thomas 5f5dc1a4be [BasicBlockUtils] Check for unreachable preds before updating LI in UpdateAnalysisInformation
Summary:
We are incorrectly updating the LI when loop-simplify generates
dedicated exit blocks for a loop. The issue is that there's an implicit
assumption that the Preds passed into UpdateAnalysisInformation are
reachable. However, this is not true and breaks LI by incorrectly
updating the header of a loop.

One such case is when we generate dedicated exits when the exit block is
a landing pad (through SplitLandingPadPredecessors). There maybe other
cases as well, since we do not guarantee that Preds passed in are
reachable basic blocks.

The added test case shows how loop-simplify breaks LI for the outer loop (and DT in turn)
after we try to generate the LoopSimplifyForm.

Reviewers: davide, chandlerc, sanjoy

Reviewed By: davide

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D41519

llvm-svn: 321653
2018-01-02 16:25:50 +00:00
..
Analysis Fix tests after move to utohexstr. 2017-12-28 17:00:37 +00:00
Assembler
Bindings
Bitcode
BugPoint
CodeGen [Hexagon] Fix generation of vector sign extensions 2018-01-02 15:28:49 +00:00
DebugInfo [DWARF v5] Rework of string offsets table reader 2017-12-21 19:38:13 +00:00
Examples
ExecutionEngine
Feature
FileCheck
Instrumentation [hwasan] Implement -fsanitize-recover=hwaddress. 2017-12-20 19:05:44 +00:00
Integer
JitListener
Linker
LTO [LTO] Make processing of combined module more consistent 2017-12-16 02:10:00 +00:00
MC [MC] - Stop ignoring invalid meta data symbols. 2017-12-31 07:41:02 +00:00
Object
ObjectYAML [WebAssembly] Add support for init functions linking metadata 2017-12-14 21:10:03 +00:00
Other [PM] pass -debug-pass-manager flag into FunctionToLoopPassAdaptor's canonicalization PM 2017-12-29 08:16:06 +00:00
SafepointIRVerifier [SafepointIRVerifier] Allow non-dereferencing uses of unrelocated or poisoned PHI nodes 2017-12-25 09:35:10 +00:00
SymbolRewriter
TableGen TableGen: Allow setting SDNodeProperties on intrinsics 2017-12-20 19:36:28 +00:00
ThinLTO/X86 [ThinLTO] Don't import functions with noinline attribute 2017-12-25 13:57:24 +00:00
tools Fix tests after move to utohexstr. 2017-12-28 17:00:37 +00:00
Transforms [BasicBlockUtils] Check for unreachable preds before updating LI in UpdateAnalysisInformation 2018-01-02 16:25:50 +00:00
Unit
Verifier [Verifier] Check that GEP indexes has correct types 2017-12-14 09:33:58 +00:00
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg.py
lit.site.cfg.py.in
TestRunner.sh