llvm-project/llvm/test
David Green 11630dbbc3 [InstCombine] Fold BW/2+1 tops bits are same pattern
Match "icmp eq (trunc (lsr A, BW), (ashr (trunc A), BW-1))", which checks
the top BW/2 + 1 bits are all the same. Create "A >=s INT_MIN && A <=s
INT_MAX", which we generate as "icmp ult (add A, 2^BW-1), 2^BW" to skip
a few steps of instcombining.
https://alive2.llvm.org/ce/z/NjH6Ty
https://alive2.llvm.org/ce/z/_fEQ9P

Differential Revision: https://reviews.llvm.org/D109155
2021-10-29 12:30:20 +01:00
..
Analysis [BasicAA] Handle known bits as ranges 2021-10-27 14:41:31 +02:00
Assembler Reland [IR] Increase max alignment to 4GB 2021-10-06 13:29:23 -07:00
Bindings
Bitcode [DebugInfo] Support typedef with btf_decl_tag attributes 2021-10-21 08:42:58 -07:00
BugPoint
CodeGen [X86] combineX86GatherScatter - only fold scale if the index isn't extended 2021-10-29 11:48:05 +01:00
DebugInfo llvm-dwarfdump --verify: Don't diagnose functions in different sections as overlapping 2021-10-28 17:13:57 -07:00
Demangle [lldb] change name demangling to be consistent between windows and linx 2021-10-19 12:04:37 +02:00
Examples [Orc][examples] Re-enable test for LLJITWithRemoteDebugging 2021-10-23 17:01:13 +02:00
ExecutionEngine [Orc] Fix global variable destructor function support when --jit-kind=orc-lazy 2021-10-09 15:58:21 +08:00
Feature
FileCheck
Instrumentation [CGProfile] Don't emit call graph profile edges with zero weight 2021-10-28 11:32:49 -04:00
Integer
JitListener [IntelJITListener] Fix order in JitListener/multiple.ll 2021-09-29 16:46:09 -07:00
LTO [LowerTypeTests] Emit cfi_jt aliases regardless of function export 2021-10-27 11:36:26 -07:00
Linker [DebugInfo] Skip ODRUniquing for mismatched tags 2021-10-26 15:28:25 -07:00
MC [WebAssembly] Add prototype relaxed float to int trunc instructions 2021-10-28 14:01:53 -07:00
MachineVerifier
Object
ObjectYAML [WebAssembly] Remove WasmTagType 2021-10-05 17:11:22 -07:00
Other [opt] Directly translate -O# to -passes='default<O#>' 2021-10-18 16:48:10 -07:00
SafepointIRVerifier
Support
SymbolRewriter
TableGen [GlobalISel][Tablegen] Fix SameOperandMatcher's isIdentical check 2021-10-28 13:37:12 +02:00
ThinLTO/X86 [IRSymTab] Mark __stack_chk_guard used 2021-10-28 11:22:26 -07:00
Transforms [InstCombine] Fold BW/2+1 tops bits are same pattern 2021-10-29 12:30:20 +01:00
Unit
Verifier [DebugInfo] Skip ODRUniquing for mismatched tags 2021-10-26 15:28:25 -07:00
YAMLParser
tools llvm-dwarfdump --verify: Don't diagnose functions in different sections as overlapping 2021-10-28 17:13:57 -07:00
.clang-format
CMakeLists.txt [mlgo][aot] requrie the model is autogenerated for test determinism 2021-10-13 14:02:41 -07:00
TestRunner.sh
lit.cfg.py [mlgo][aot] requrie the model is autogenerated for test determinism 2021-10-13 14:02:41 -07:00
lit.site.cfg.py.in [mlgo][aot] requrie the model is autogenerated for test determinism 2021-10-13 14:02:41 -07:00