1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/lib
Craig Topper 44d510a3c6 [RISCV] Have sexti32 also recognize AssertZExt from types smaller than i32.
An i64 AssertZExt from a type smaller than i32 has at least 33
leading zeros which mean it has at least 33 sign bits.

Since we have a couple patterns that use two sexti32, I've
switched to a ComplexPattern so tablegen didn't have to generate
9 different permutations.

As noted in the FIXME, maybe we should just call computeNumSignBits,
but we don't have tests that benefit from that yet.

Reviewed By: luismarques

Differential Revision: https://reviews.llvm.org/D97130
2021-02-22 14:56:22 -08:00
..
Analysis [ValueTracking] Improve ComputeNumSignBits for SRem. 2021-02-22 14:36:25 -08:00
AsmParser
BinaryFormat
Bitcode [llvm][Bitcode] Add bitcode reader/writer for DSOLocalEquivalent 2021-02-22 10:37:57 -08:00
Bitstream
CodeGen [GloblalISel] Support lowering <3 x i8> arguments in multiple parts. 2021-02-22 13:58:44 -08:00
DebugInfo
Demangle
DWARFLinker
ExecutionEngine [ORC] Print CPU feature string in JITTargetMachineBuilder debugging output. 2021-02-19 15:18:19 +11:00
Extensions
FileCheck
Frontend
Fuzzer
FuzzMutate
InterfaceStub [elfabi] Fix a bug when .dynsym contains no non-local symbol 2021-02-19 11:36:53 -08:00
IR [IR] restrict vector reduction intrinsic types 2021-02-21 12:37:00 -05:00
IRReader
LineEditor
Linker [llvm-link] fix IRMover returning wrong modified vector type 2021-02-22 11:29:42 +00:00
LTO
MC [WebAssembly] call_indirect issues table number relocs 2021-02-22 10:13:36 +01:00
MCA
Object
ObjectYAML
Option
Passes [SampleFDO] Skip PreLink ICP for better profile quality of MonoLTO PostLink 2021-02-19 19:35:23 -08:00
ProfileData [SampleFDO] Stop repeated indirect call promotion for the same target. 2021-02-18 17:01:32 -08:00
Remarks
Support [KnownBits] Pull out repeated getMinValue() calls from shift analysis. NFCI. 2021-02-22 18:41:01 +00:00
TableGen
Target [RISCV] Have sexti32 also recognize AssertZExt from types smaller than i32. 2021-02-22 14:56:22 -08:00
Testing
TextAPI [llvm][TextAPI] add equality operator for InterfaceFile 2021-02-18 11:53:08 -08:00
ToolDrivers
Transforms [InstrProfiling] Use ELF section groups for counters, data and values 2021-02-22 14:00:02 -08:00
WindowsManifest
XRay
CMakeLists.txt