1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/lib
Craig Topper 7c9c296915 [RISCV] Restrict performANY_EXTENDCombine to prevent an infinite loop.
The sign_extend we insert here can get turned into a zero_extend if
the sign bit is known zero. This can enable a setcc combine that
shrinks compares with zero_extend. This reduces the use count of
the zero_extend allowing other combines to turn it back into an
any_extend.

This restricts the combine to only cases where the result is used
by a CopyToReg. This works for my original motivating case. I
hope the CopyToReg use will prevent any converted extends from
turning back into an any_extend.

Reviewed By: luismarques

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

(cherry picked from commit 54588bcc052e5b08f90e672c33d0c1ad4eda2424)
2021-08-02 11:31:08 -07:00
..
Analysis [MLGO] fix silly LLVM_DEBUG misuse 2021-07-27 15:10:28 -07:00
AsmParser
BinaryFormat
Bitcode
Bitstream
CodeGen [AArch64] Legalize MVT::i64x8 in DAG isel lowering 2021-08-02 15:45:58 +01:00
DebugInfo [Debug-Info][llvm-dwarfdump] Don't try to dump location 2021-07-27 07:28:59 +00:00
Demangle
DWARFLinker [Debug-Info][llvm-dwarfdump] Don't try to dump location 2021-07-27 07:28:59 +00:00
DWP [DWP] Refactoring llvm-dwp in to a library part 2 2021-07-22 14:23:29 -07:00
ExecutionEngine [ORC] Require ExecutorProcessControl when constructing an ExecutionSession. 2021-07-27 16:53:49 +10:00
Extensions
FileCheck
Frontend [mlir][openacc] Initial translation for DataOp to LLVM IR 2021-07-27 22:04:04 -04:00
Fuzzer
FuzzMutate
InterfaceStub
IR Strip undef implying attributes when moving calls 2021-07-27 10:57:05 -04:00
IRReader
LineEditor
Linker
LTO
MC [SystemZ][z/OS] Initial code to generate assembly files on z/OS 2021-07-27 11:29:15 -04:00
MCA
Object [Object] make SourceMgr available to MCContext during inline asm symbols 2021-07-25 21:23:03 -07:00
ObjectYAML [yaml2obj][MachO] Rename PayloadString to Content 2021-07-26 09:04:51 -07:00
Option
Passes Add jump-threading optimization for deterministic finite automata 2021-07-27 14:34:04 -04:00
ProfileData [profile] Add binary id into profiles 2021-07-23 00:19:12 +00:00
Remarks
Support Build libSupport with -Werror=global-constructors (NFC) 2021-07-27 04:27:18 +00:00
TableGen
Target [RISCV] Restrict performANY_EXTENDCombine to prevent an infinite loop. 2021-08-02 11:31:08 -07:00
Testing
TextAPI
ToolDrivers
Transforms Revert "[DebugInfo][LoopStrengthReduction] SCEV-based salvaging for LSR" 2021-07-29 00:04:50 +01:00
WindowsManifest
XRay
CMakeLists.txt [DWP] Refactoring llvm-dwp in to a library part 2 2021-07-22 14:23:29 -07:00