llvm-project/llvm/test
Nikita Popov 10c531cd5b [SCCP] Simplify CFG in SCCP as well
Currently, we only remove dead blocks and non-feasible edges in
IPSCCP, but not in SCCP. I'm not aware of any strong reason for
that difference, so this patch updates SCCP to perform the CFG
cleanup as well.

Compile-time impact seems to be pretty minimal, in the 0.05%
geomean range on CTMark.

For the test case from https://reviews.llvm.org/D126962#3611579
the result after -sccp now looks like this:

    define void @test(i1 %c) {
    entry:
      br i1 %c, label %unreachable, label %next
    next:
      unreachable
    unreachable:
      call void @bar()
      unreachable
    }

-jump-threading does nothing on this, but -simplifycfg will produce
the optimal result.

Differential Revision: https://reviews.llvm.org/D128796
2022-06-30 09:25:03 +02:00
..
Analysis [BasicAA] Add test coverage from D76194. 2022-06-29 11:25:20 +01:00
Assembler [IR] Remove support for extractvalue constant expression 2022-06-28 10:40:17 +02:00
Bindings [ArgPromotion] Remove legacy PM support 2022-06-27 09:42:17 +02:00
Bitcode [Bitcode] Support expanding constant expressions into instructions 2022-06-28 11:09:46 +02:00
BugPoint
CodeGen [AMDGPU] Fix liveness for loops in si-optimize-exec-masking-pre-ra 2022-06-30 15:26:50 +09:00
DebugInfo [XCOFF] change default program code csect alignment to 32 2022-06-29 04:16:01 +00:00
Demangle
Examples
ExecutionEngine [ORC][LLJIT] Define atexit symbol in GenericLLVMIRPlatformSupport. 2022-06-26 03:50:08 +09:00
Feature
FileCheck
Instrumentation Delete 'llvm.asan.globals' for global metadata. 2022-06-27 14:40:40 -07:00
Integer
JitListener
LTO [Inline] Annotate inline pass name with link phase information for analysis. 2022-06-24 10:06:43 -07:00
Linker
MC [MC] Skip lower-case integer suffixes 2022-06-29 20:55:05 -07:00
MachineVerifier
Object [llvm] Fix MachO exports trie parsing. 2022-06-15 09:28:58 -07:00
ObjectYAML
Other [clang] Add support for __builtin_memset_inline 2022-06-10 13:13:59 +00:00
SafepointIRVerifier freeze does not change the constant property 2022-06-14 19:53:26 +03:00
Support Reapply: Add an error message to the default SIGPIPE handler 2022-06-09 20:13:45 +01:00
SymbolRewriter
TableGen [TableGen] Add a knob for MCOperandInfo expansion in gen-instr-info 2022-06-29 00:59:16 -07:00
ThinLTO/X86 [ThinLTO][test] Add tests for emitting files in-process 2022-06-29 14:42:45 -07:00
Transforms [SCCP] Simplify CFG in SCCP as well 2022-06-30 09:25:03 +02:00
Unit
Verifier [IR] Move vector.insert/vector.extract out of experimental namespace 2022-06-27 10:48:45 +00:00
YAMLParser
tools [test] Add REQUIRES: zlib to zdebug.yaml 2022-06-29 14:33:22 -07:00
.clang-format
CMakeLists.txt LLVM Driver Multicall tool 2022-06-06 04:27:32 +00:00
TestRunner.sh
lit.cfg.py Don't warn when 'llvm' isn't found 2022-06-06 14:29:44 +00:00
lit.site.cfg.py.in LLVM Driver Multicall tool 2022-06-06 04:27:32 +00:00