llvm-mirror/test
Bjorn Pettersson 6b2e39a77a [LCSSA] Do not remove used PHI nodes in formLCSSAForInstructions
Summary:
In formLCSSAForInstructions we speculatively add new PHI
nodes, that sometimes ends up without having any uses. It
has been discovered that sometimes an added PHI node can
appear as being unused in one iteration of the Worklist,
although it can end up being used by a PHI node added in
a later iteration. We now check, a second time, that the
PHI node still is unused before we remove it. This avoids
an assert about "Trying to remove a phi with uses." for the
added test case.

Reviewers: davide, mzolotukhin, mattd, dberlin

Reviewed By: mzolotukhin, dberlin

Subscribers: dberlin, mzolotukhin, davide, bjope, uabelho, llvm-commits

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

llvm-svn: 331741
2018-05-08 06:59:47 +00:00
..
Analysis Rename invariant.group.barrier to launder.invariant.group 2018-05-03 11:03:01 +00:00
Assembler
Bindings [LLVM-C] Add DIBuilder bindings to create import declarations 2018-04-28 22:32:07 +00:00
Bitcode Rename invariant.group.barrier to launder.invariant.group 2018-05-03 11:03:01 +00:00
BugPoint
CodeGen [MachineVerifier][GlobalISel] Verifying generic extends and truncates 2018-05-08 02:48:15 +00:00
DebugInfo [SelectionDAG] Transfer DbgValues when casts are optimized in SelectionDAG::getNode 2018-05-07 20:15:50 +00:00
Examples
ExecutionEngine
Feature
FileCheck
Instrumentation [x86] Revert r330322 (& r330323): Lowering x86 adds/addus/subs/subus intrinsics 2018-04-26 21:46:01 +00:00
Integer
JitListener
Linker
LTO [LTO] Allow pass remarks with hotness to be set when emitting to stderr 2018-05-04 23:59:34 +00:00
MC [x86] Introduce the pconfig instruction 2018-05-08 06:47:36 +00:00
Object AMDGPU: Add Vega12 and Vega20 2018-04-30 19:08:16 +00:00
ObjectYAML obj2yaml: Correctly round-trip default alignment. 2018-05-04 16:28:41 +00:00
Other [NewPM] Emit inliner NoDefinition missed optimization remark 2018-05-08 01:45:46 +00:00
SafepointIRVerifier
SymbolRewriter
TableGen [globalisel] Update GlobalISel emitter to match new representation of extending loads 2018-05-05 20:53:24 +00:00
ThinLTO/X86
tools [llvm-mca][x86] Remove addsubpd from SSE2 tests 2018-05-07 21:10:48 +00:00
Transforms [LCSSA] Do not remove used PHI nodes in formLCSSAForInstructions 2018-05-08 06:59:47 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt [tools] Add missing test dependency 2018-05-07 22:00:59 +00:00
lit.cfg.py [tools] Adjust the lit config for llvm-strip 2018-05-07 21:07:01 +00:00
lit.site.cfg.py.in
TestRunner.sh