1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test
Bjorn Pettersson f9a3ecf57f [Reassociate] Skip analysis of dead code to avoid infinite loop.
Summary:
It was detected that the reassociate pass could enter an inifite
loop when analysing dead code. Simply skipping to analyse basic
blocks that are dead avoids such problems (and as a side effect
we avoid spending time on optimising dead code).

The solution is using the same Reverse Post Order ordering of the
basic blocks when doing the optimisations, as when building the
precalculated rank map. A nice side-effect of this solution is
that we now know that we only try to do optimisations for blocks
with ranked instructions.

Fixes https://llvm.org/bugs/show_bug.cgi?id=30818

Reviewers: llvm-commits, davide, eli.friedman, mehdi_amini

Subscribers: dberlin

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

llvm-svn: 285793
2016-11-02 08:55:19 +00:00
..
Analysis Improved cost model for FDIV and FSQRT, by Andrew Tischenko 2016-10-31 12:10:53 +00:00
Assembler DebugInfo: preparation to implement DW_AT_alignment 2016-10-20 00:13:12 +00:00
Bindings
Bitcode Bitcode: Check file size before reading bitcode header. 2016-11-02 00:39:11 +00:00
BugPoint Add -strip-nonlinetable-debuginfo capability 2016-10-25 18:44:13 +00:00
CodeGen AMDGPU: Use brev for materializing SGPR constants 2016-11-01 23:14:20 +00:00
DebugInfo DebugInfo: make DW_TAG_atomic_type valid 2016-10-31 19:09:38 +00:00
Demangle
Examples
ExecutionEngine Fix PREL31 relocation on ARM 2016-10-20 21:15:29 +00:00
Feature
FileCheck
Instrumentation [asan] Move instrumented null-terminated strings to a special section, LLVM part 2016-10-31 18:51:58 +00:00
Integer
JitListener
LibDriver
Linker
LTO
MC [PPC] add absolute difference altivec instructions and matching intrinsics 2016-10-31 19:47:52 +00:00
Object Don't compute DotShstrtab eagerly. 2016-11-01 21:33:55 +00:00
ObjectYAML
Other [lit] Work around Windows MSys command line tokenization bug 2016-10-26 20:29:27 +00:00
SymbolRewriter [PM] Port SymbolRewriter to the new PM 2016-07-25 20:52:00 +00:00
TableGen
ThinLTO/X86 [ThinLTO] Disable importing and other cross-module optis at -O0 2016-10-31 22:12:21 +00:00
tools [ThinLTO] Disable importing and other cross-module optis at -O0 2016-10-31 22:12:21 +00:00
Transforms [Reassociate] Skip analysis of dead code to avoid infinite loop. 2016-11-02 08:55:19 +00:00
Unit
Verifier
YAMLParser YAML: Implement block scalar parsing. 2015-05-13 23:10:51 +00:00
.clang-format
CMakeLists.txt [XRay] Add llvm-xray as a dependency to test/CMakeLists.txt 2016-10-26 04:16:05 +00:00
lit.cfg [XRay] Implement llvm-xray extract, start of the llvm-xray tool 2016-10-26 04:14:34 +00:00
lit.site.cfg.in
TestRunner.sh