llvm-project/llvm/test
Hans Wennborg b669fea42f SimplifyCFG SinkCommonCodeFromPredecessors: Also sink function calls without used results (PR41259)
The code was previously checking that candidates for sinking had exactly
one use or were a store instruction (which can't have uses). This meant
we could sink call instructions only if they had a use.

That limitation seemed a bit arbitrary, so this patch changes it to
"instruction has zero or one use" which seems more natural and removes
the need to special-case stores.

Differential revision: https://reviews.llvm.org/D59936

llvm-svn: 357452
2019-04-02 08:01:38 +00:00
..
Analysis [SCEV] Check the cache in get{S|U}MaxExpr before doing any work 2019-03-29 22:00:12 +00:00
Assembler IR: Support parsing numeric block ids, and emit them in textual output. 2019-03-22 18:27:13 +00:00
Bindings [Go / ASAN] Disable Go bindings for ASAN tests. 2019-03-08 22:34:33 +00:00
Bitcode [DebugInfoMetadata] Move main subprogram DIFlag into DISPFlags 2019-03-19 13:49:03 +00:00
BugPoint
CodeGen SimplifyCFG SinkCommonCodeFromPredecessors: Also sink function calls without used results (PR41259) 2019-04-02 08:01:38 +00:00
DebugInfo [DAGCombine] Improve Lifetime node chains. 2019-03-29 14:09:47 +00:00
Demangle
Examples Fix a think-o in the disable-kaleidoscope-tests-on-windows predicate of r354646. 2019-02-22 03:56:50 +00:00
ExecutionEngine [yaml2obj]Allow explicit symbol indexes in relocations and emit error for bad names 2019-03-12 17:00:25 +00:00
Feature
FileCheck [FileCheck]Remove assertions that prevent matching an empty string at file start before CHECK-NEXT/SAME 2019-03-12 15:37:34 +00:00
Instrumentation [asan] Add options -asan-detect-invalid-pointer-cmp and -asan-detect-invalid-pointer-sub options. 2019-03-28 10:51:24 +00:00
Integer
JitListener
LTO [Linker] Fix crash handling appending linkage 2019-03-20 19:20:07 +00:00
Linker
MC [AArch64] Add v8.5-a Memory Tagging STZGM instruction 2019-04-01 14:56:37 +00:00
MachineVerifier [AMDGPU] Add support for immediate operand for S_ENDPGM 2019-03-12 09:52:58 +00:00
Object [DWARF] Refactor RelocVisitor and fix computation of SHT_RELA-typed relocation entries 2019-03-22 02:43:11 +00:00
ObjectYAML [WebAssembly] Target features section 2019-03-20 20:26:45 +00:00
Other [NewPM] Fix a nasty bug with analysis invalidation in the new PM. 2019-03-28 00:51:36 +00:00
SafepointIRVerifier
SymbolRewriter
TableGen [TableGen] Let list elements have a trailing comma 2019-03-26 11:16:01 +00:00
ThinLTO/X86 Commit accidentally omitted test case. 2019-04-01 16:29:40 +00:00
Transforms SimplifyCFG SinkCommonCodeFromPredecessors: Also sink function calls without used results (PR41259) 2019-04-02 08:01:38 +00:00
Unit
Verifier Remove immarg from llvm.expect 2019-03-17 23:16:18 +00:00
YAMLParser
tools [llvm-objcopy] Add --keep-symbols option 2019-04-01 18:12:43 +00:00
.clang-format
CMakeLists.txt [Kaleidoscope] Re-enable Kaleidoscope tests. 2019-02-21 22:24:53 +00:00
TestRunner.sh
lit.cfg.py Fix llvm-rc tests. 2019-03-27 20:15:08 +00:00
lit.site.cfg.py.in [Kaleidoscope] Re-enable Kaleidoscope tests. 2019-02-21 22:24:53 +00:00