llvm-project/llvm/test
John Brawn 39ac159c24 [LICM] Adjust how moving the re-hoist point works
In some cases the order that we hoist instructions in means that when rehoisting
(which uses the same order as hoisting) we can rehoist to a block A, then a
block B, then block A again. This currently causes an assertion failure as it
expects that when changing the hoist point it only ever moves to a block that
dominates the hoist point being moved from.

Fix this by moving the re-hoist point when it doesn't dominate the dominator of
hoisted instruction, or in other words when it wouldn't dominate the uses of
the instruction being rehoisted.

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

llvm-svn: 350408
2019-01-04 17:12:09 +00:00
..
Analysis [CostModel][X86] Fix SSE1 FADD/FSUB costs 2019-01-04 16:55:57 +00:00
Assembler Revert patches 348835 and 348571 because they're 2019-01-04 16:39:10 +00:00
Bindings [DebugInfo] IR/Bitcode changes for DISubprogram flags. 2018-11-28 21:14:32 +00:00
Bitcode [ThinLTO] Compute synthetic function entry count 2018-12-13 19:54:27 +00:00
BugPoint Python compat - print statement 2019-01-03 14:11:33 +00:00
CodeGen [X86] Add VPSLLI/VPSRLI ((X >>u C1) << C2) SimplifyDemandedBits combine 2019-01-04 15:43:43 +00:00
DebugInfo [codeview] Check if this 'this' type of a method is a pointer 2018-12-26 21:52:17 +00:00
Demangle [MS Demangler] Fail gracefully on invalid pointer types. 2018-12-14 18:10:13 +00:00
Examples
ExecutionEngine Implement IMAGE_REL_AMD64_SECREL for RuntimeDyldCOFFX86_64 2018-12-12 00:04:06 +00:00
Feature
FileCheck [FileCheck] Try to fix test on windows due to r349418 2018-12-18 01:17:28 +00:00
Instrumentation [NewPM] Port Msan 2019-01-03 13:42:44 +00:00
Integer
JitListener
LTO [ThinLTO] Remove dllimport attribute from locally defined symbols 2018-12-19 19:07:45 +00:00
Linker Implement -frecord-command-line (-frecord-gcc-switches) 2018-12-14 15:38:15 +00:00
MC [WebAssembly] Fixed disassembler not knowing about new brlist operand 2019-01-03 23:01:30 +00:00
Object [llvm-readobj] [COFF] Print the symbol index for relocations 2019-01-03 08:08:23 +00:00
ObjectYAML [WebAssembly] Check if the section order is correct 2018-12-15 00:58:12 +00:00
Other Python compat - print statement 2019-01-03 14:11:33 +00:00
SafepointIRVerifier
SymbolRewriter
TableGen [tblgen][disasm] Emit record names again when decoder conflicts occur. 2019-01-03 00:14:33 +00:00
ThinLTO/X86 [ThinLTO] Scan all variants of vague symbol for reachability. 2019-01-02 23:18:20 +00:00
Transforms [LICM] Adjust how moving the re-hoist point works 2019-01-04 17:12:09 +00:00
Unit [test] Fix propagating HOME envvar to unittests 2018-12-31 13:48:12 +00:00
Verifier Implement -frecord-command-line (-frecord-gcc-switches) 2018-12-14 15:38:15 +00:00
YAMLParser
tools [elfabi] Introduce tool for ELF TextAPI 2019-01-03 18:32:36 +00:00
.clang-format
CMakeLists.txt [elfabi] Introduce tool for ELF TextAPI 2019-01-03 18:32:36 +00:00
TestRunner.sh
lit.cfg.py Remove unused %host_cc lit pattern 2019-01-03 19:31:53 +00:00
lit.site.cfg.py.in