llvm/test
David Green 2c4ca6832f [InstCombine] Signed saturation patterns
This adds an instcombine matcher for code that attempts to perform signed
saturating arithmetic by casting to a higher type. Unsigned cases are already
matched, this adds extra matches for the more complex signed cases, which
involves matching the min(max(add a b)) nodes with proper extends to ensure
legality.

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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@375505 91177308-0d34-0410-b5e6-96231b3b80d8
2019-10-22 15:39:47 +00:00
..
Analysis [SCEV] Simplify umin/max of zext and sext of the same value 2019-10-19 17:23:02 +00:00
Assembler [lit] Fix a test case that r374652 missed 2019-10-16 17:56:12 +00:00
Bindings [IRBuilder] Update IRBuilder::CreateFNeg(...) to return a UnaryOperator 2019-10-14 15:35:01 +00:00
Bitcode Add FMF to vector ops for phi 2019-10-14 17:39:32 +00:00
BugPoint
CodeGen [MIParser] Set RegClassOrRegBank during instruction parsing 2019-10-22 14:25:37 +00:00
DebugInfo Reverted r375425 as it broke some buildbots. 2019-10-21 19:11:40 +00:00
Demangle [Demangle] Add a few more options to the microsoft demangler 2019-10-15 08:29:56 +00:00
Examples
ExecutionEngine [JITLink] Switch to slab allocation for InProcessMemoryManager, re-enable test. 2019-10-15 21:06:57 +00:00
Feature
FileCheck [FileCheck] Implement --ignore-case option. 2019-10-11 11:59:14 +00:00
Instrumentation Insert module constructors in a module pass 2019-10-11 08:47:03 +00:00
Integer
JitListener
Linker
LTO Reland: Dead Virtual Function Elimination 2019-10-17 09:58:57 +00:00
MachineVerifier
MC [X86] Fix register parsing in .seh_* in Intel syntax 2019-10-18 21:01:41 +00:00
Object [yaml2obj][obj2yaml] - Do not create a symbol table by default. 2019-10-20 14:47:17 +00:00
ObjectYAML [WebAssembly] Allow multivalue signatures in object files 2019-10-18 20:27:30 +00:00
Other Reapply r374743 with a fix for the ocaml binding 2019-10-14 16:15:14 +00:00
Reduce
SafepointIRVerifier
Support
SymbolRewriter
TableGen [TableGen] Fix a bug that MCSchedClassDesc is interfered between different SchedModel 2019-10-11 08:36:54 +00:00
ThinLTO/X86 [ThinLTO] Don't internalize during promotion 2019-10-22 09:24:12 +00:00
tools [llvm/Object] - Make ELFObjectFile::getRelocatedSection return Expected<section_iterator> 2019-10-21 11:06:38 +00:00
Transforms [InstCombine] Signed saturation patterns 2019-10-22 15:39:47 +00:00
Unit
Verifier [DebugInfo] Add a DW_OP_LLVM_entry_value operation 2019-10-15 11:31:21 +00:00
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg.py
lit.site.cfg.py.in
TestRunner.sh