1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/lib
Nikita Popov e62476ce5e [InstCombine] Simplify select operand based on equality condition
For selects of the type X == Y ? A : B, check if we can simplify A
by using the X == Y equality and replace the operand if that's
possible. We already try to do this in InstSimplify, but will only
fold if the result of the simplification is the same as B, in which
case the select can be dropped entirely. Here the select will be
retained, just one operand simplified.

As we are performing an actual replacement here, we don't have
problems with refinement / poison values.

Differential Revision: https://reviews.llvm.org/D87480
2020-09-14 20:07:06 +02:00
..
Analysis [InstSimplify] add folds for fmin/fmax with 'nnan' 2020-09-14 11:46:11 -04:00
AsmParser [DebugInfo][flang]Added support for representing Fortran assumed length strings 2020-08-22 10:13:40 +05:30
BinaryFormat [DebugInfo] Allow GNU macro extension to be read 2020-08-11 13:30:52 +02:00
Bitcode [NFC][ThinLTO] Let llvm::EmbedBitcodeInModule handle serialization. 2020-09-10 10:25:00 -07:00
Bitstream [Bitstream] Use alignTo to make code more readable. NFC 2020-09-01 11:06:45 -07:00
CodeGen [DAGCombiner] Fold fmin/fmax with INF / FLT_MAX 2020-09-14 19:59:33 +02:00
DebugInfo llvm-symbolizer: Add optional "start file" to match "start line" 2020-09-08 15:40:58 -07:00
Demangle [NFC] Use std::free instead of ::free 2020-07-20 16:19:08 -04:00
DWARFLinker
ExecutionEngine [JITLink] Improve formatting for Edge, Block and Symbol debugging output. 2020-09-13 15:44:07 -07:00
Extensions Remove unused variable(s) 2020-09-08 16:58:01 -07:00
FileCheck Reland [FileCheck] Move FileCheck implementation out of LLVMSupport into its own library 2020-09-01 14:59:28 +02:00
Frontend [OpenMP][OMPBuilder] Adding support for omp single 2020-08-16 01:15:16 -04:00
Fuzzer
FuzzMutate [NewPM][LSR] Rename strength-reduce -> loop-reduce 2020-07-02 11:15:29 -07:00
InterfaceStub Remove unnecessary HEADER_DIRS in lib/InterfaceStub/CMakeLists.txt 2020-08-14 11:22:50 -07:00
IR Reland [AssumeBundles] Use operand bundles to encode alignment assumptions 2020-09-12 15:36:06 +02:00
IRReader
LineEditor
Linker [ThinLTO] Fix a metadata lost issue with DICompileUnit import. 2020-09-02 14:40:41 -07:00
LTO [ThinLTO] Make -lto-embed-bitcode an enum 2020-09-11 13:24:54 -07:00
MC Let -basic-block-sections=labels emit basicblock metadata in a new .bb_addr_map section, instead of emitting special unary-encoded symbols. 2020-09-14 10:16:44 -07:00
MCA [APInt] New member function setBitVal 2020-09-02 21:40:31 +01:00
Object [ELF] Add a new e_machine value EM_CSKY and add some CSKY relocation types 2020-09-07 10:42:28 +08:00
ObjectYAML [DWARFYAML] Make the debug_ranges section optional. 2020-09-08 19:55:47 +08:00
Option [NFC] Fix the signature and definition of findByPrefix 2020-09-11 12:38:28 +01:00
Passes [NewPM] Introduce PreserveCFG check 2020-09-11 14:32:21 +07:00
ProfileData [llvm-cov gcov] Refactor counting and reporting 2020-09-13 23:00:59 -07:00
Remarks BitstreamRemarkParser.h - remove unnecessary includes. NFCI. 2020-08-06 13:17:53 +01:00
Support Add raw_fd_stream that supports reading/seeking/writing 2020-09-12 07:34:19 +00:00
TableGen TableGen: change a couple of member names to clarify their use. 2020-09-12 12:21:36 -04:00
Target [XCOFF][AIX] Handle TOC entries that could not be reached by positive range in small code model 2020-09-14 13:41:34 +00:00
Testing [cmake] Make gtest include directories a part of the library interface 2020-08-27 15:35:57 +02:00
TextAPI [TextAPI] update DriverKit string value 2020-08-15 06:44:30 -07:00
ToolDrivers [llvm-lib] Support adding short import library objects with llvm-lib 2020-07-24 22:15:08 +03:00
Transforms [InstCombine] Simplify select operand based on equality condition 2020-09-14 20:07:06 +02:00
WindowsManifest [CMake] Simplify CMake handling for libxml2 2020-09-09 21:44:44 -07:00
XRay
CMakeLists.txt Reland [FileCheck] Move FileCheck implementation out of LLVMSupport into its own library 2020-09-01 14:59:28 +02:00
LLVMBuild.txt [elfabi] Move llvm-elfabi related code to InterfaceStub library 2020-08-13 11:51:44 -07:00