1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/test
Philip Reames ade0ec7fb0 [instcombine] Fold overflow check using overflow intrinsic to comparison
This follows up to D104665 (which added umulo handling alongside the existing uaddo case), and generalizes for the remaining overflow intrinsics.

I went to add analogous handling to LVI, and discovered that LVI already had a more general implementation. Instead, we can port was LVI does to instcombine. (For context, LVI uses makeExactNoWrapRegion to constrain the value 'x' in blocks reached after a branch on the condition `op.with.overflow(x, C).overflow`.)

Differential Revision: https://reviews.llvm.org/D104932
2021-07-01 09:41:55 -07:00
..
Analysis [CostModel][X86] Adjust fp<->int vXi32 SSE legalized costs based on llvm-mca reports. 2021-07-01 15:34:20 +01:00
Assembler [OpaquePtr] Support opaque pointers in intrinsic type check 2021-07-01 18:26:41 +02:00
Bindings
Bitcode [DebugInfo] Enforce implicit constraints on distinct MDNodes 2021-06-28 21:20:04 +00:00
BugPoint
CodeGen GlobalISel: Use LLT in call lowering callbacks 2021-07-01 12:15:54 -04:00
DebugInfo [DebugInfo][InstrRef][2/4] Use subreg substitutions in LiveDebugValues 2021-07-01 13:07:16 +01:00
Demangle
Examples [Orc] Run the examples as part of the tests 2021-06-30 21:45:16 +02:00
ExecutionEngine [JITLink][ELF] Move ELF section and symbol parsing into ELFLinkGraphBuilder. 2021-06-29 09:59:49 +10:00
Feature
FileCheck
Instrumentation [dfsan] Expose dfsan_get_track_origins to get origin tracking status 2021-06-29 20:32:39 +00:00
Integer
JitListener
Linker
LTO
MachineVerifier CodeGen: Print/parse LLTs in MachineMemOperands 2021-06-30 16:54:13 -04:00
MC [ARMInstPrinter] Print the target address of a branch instruction 2021-06-30 16:35:28 +07:00
Object
ObjectYAML
Other [OpaquePtr] Support opaque pointers in intrinsic type check 2021-07-01 18:26:41 +02:00
SafepointIRVerifier
Support
SymbolRewriter
TableGen [TableGen] Allow identical MnemonicAliases with no predicate 2021-06-30 10:53:39 +01:00
ThinLTO/X86
tools [llvm-mca] Fix JSON output (PR50922) 2021-07-01 12:53:20 +01:00
Transforms [instcombine] Fold overflow check using overflow intrinsic to comparison 2021-07-01 09:41:55 -07:00
Unit
Verifier [ObjC][ARC] Ignore operand bundle "clang.arc.attachedcall" on a call if 2021-06-28 11:02:30 -07:00
YAMLParser
.clang-format
CMakeLists.txt [Orc] Run the examples as part of the tests 2021-06-30 21:45:16 +02:00
lit.cfg.py [Orc] Run the examples as part of the tests 2021-06-30 21:45:16 +02:00
lit.site.cfg.py.in
TestRunner.sh