1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/lib
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 [BasicAA] Fix typo ScaleForGDC -> ScaleForGCD. 2021-07-01 09:58:38 +01:00
AsmParser OpaquePtr: Support i32** with --force-opaque-pointers 2021-06-29 14:10:29 -07:00
BinaryFormat [WebAssembly] Rename event to tag 2021-06-17 20:34:19 -07:00
Bitcode [OpaquePtr][BitcodeWriter] Handle attributes with types 2021-06-29 14:47:29 -07:00
Bitstream
CodeGen GlobalISel: Use LLT in call lowering callbacks 2021-07-01 12:15:54 -04:00
DebugInfo [DebugInfo] Bug 41152 - Improve dumping of empty location expressions 2021-06-29 09:21:00 +01:00
Demangle [Demangle][Rust] Hide implementation details NFC 2021-06-23 18:28:16 +02:00
DWARFLinker [MC] Refactor MCObjectFileInfo initialization and allow targets to create MCObjectFileInfo 2021-05-23 14:15:23 -07:00
ExecutionEngine [ORC] Add wrapper-function support methods to ExecutorProcessControl. 2021-07-01 18:21:49 +10:00
Extensions
FileCheck [llvm] Rename StringRef _lower() method calls to _insensitive() 2021-06-25 00:22:01 +03:00
Frontend [OPENMP]Fix PR50129: omp cancel parallel not working as expected. 2021-06-04 08:24:55 -07:00
Fuzzer
FuzzMutate [FuzzMutate] Fix getWeight of InstDeleterIRStrategy 2021-06-08 11:14:33 -07:00
InterfaceStub [elfabi] Fix a bug when .dynsym contains no non-local symbol 2021-02-19 11:36:53 -08:00
IR [OpaquePtr] Support opaque pointers in intrinsic type check 2021-07-01 18:26:41 +02:00
IRReader [NFC] Reordering parameters in getFile and getFileOrSTDIN 2021-03-25 09:47:49 -04:00
LineEditor
Linker Linker: Avoid scheduling the link of a global value twice due to an alias 2021-04-28 13:22:10 -07:00
LTO [LTO] Support new PM in ThinLTOCodeGenerator. 2021-06-09 10:05:14 +01:00
MC [MCStreamer] Move emission of attributes section into MCELFStreamer 2021-06-30 16:00:27 -05:00
MCA [MCA] [In-order pipeline] Fix for 0 latency instruction causing assertion to fail. 2021-06-22 10:18:39 -07:00
Object [AMDGPU] Add gfx1035 target 2021-06-24 14:32:41 -04:00
ObjectYAML [AMDGPU] Add gfx1035 target 2021-06-24 14:32:41 -04:00
Option [OptTable] Rename PrintHelp to printHelp 2021-06-24 14:47:03 -07:00
Passes [NFC][PassBuilder] addVectorPasses(): clarify that 'IsLTO' is actually 'IsFullLTO' 2021-07-01 10:09:24 +03:00
ProfileData [llvm-cov] Enforce alignment of function records 2021-06-25 10:56:06 +02:00
Remarks [Support] Don't include VirtualFileSystem.h in CommandLine.h 2021-04-21 10:19:01 -04:00
Support [flang] Revert "PoC for Flang Driver Plugins" 2021-07-01 08:27:31 +00:00
TableGen DetailedRecordsBackend.cpp - printSectionHeading - avoid std::string creation/copies. 2021-06-13 16:49:40 +01:00
Target GlobalISel: Use LLT in call lowering callbacks 2021-07-01 12:15:54 -04:00
Testing Fix for error "'Run' overrides a member function but is not marked 2021-06-11 06:56:00 -07:00
TextAPI Reland "[llvm] llvm-tapi-diff" 2021-06-09 21:17:34 -07:00
ToolDrivers [OptTable] Rename PrintHelp to printHelp 2021-06-24 14:47:03 -07:00
Transforms [instcombine] Fold overflow check using overflow intrinsic to comparison 2021-07-01 09:41:55 -07:00
WindowsManifest
XRay
CMakeLists.txt