llvm-project/llvm/lib
Craig Topper 296e8cae5c [RISCV] Isel (sra (sext_inreg X, i16), C) -> (srai (slli X, (XLen-16), (XLen-16) + C).
Similar for (sra (sext_inreg X, i8), C).

With Zbb, sext_inreg of i8 and i16 are legal for sext.b and sext.h.
This transform makes the Zbb codegen the same as without Zbb. The
shifts are more compressible. This also exposes an opportunity for
CSE with another slli in the i16 sdiv by constant codegen.
2022-01-09 21:23:43 -08:00
..
Analysis [DivergenceAnalysis] Simplify inRegion test based on whether the RegionLoop pointer is null or not 2022-01-08 14:30:10 +00:00
AsmParser [llvm][IR] Add no_cfi constant 2021-12-20 12:55:32 -08:00
BinaryFormat Use llvm::any_of and llvm::all_of (NFC) 2021-12-11 11:54:37 -08:00
Bitcode [llvm] Fix bugprone argument comments (NFC) 2022-01-08 11:56:38 -08:00
Bitstream
CodeGen [PowerPC] fast isel can lower intrinsics call on AIX. 2022-01-10 02:30:05 +00:00
DWARFLinker [llvm] Fix bugprone argument comments (NFC) 2022-01-08 11:56:38 -08:00
DWP
DebugInfo [llvm] Remove redundant member initialization (NFC) 2022-01-07 17:45:09 -08:00
Debuginfod [llvm] Use nullptr instead of 0 (NFC) 2021-12-28 08:52:25 -08:00
Demangle [Demangle] Add support for D function-local parent symbols 2021-12-07 01:46:13 +00:00
ExecutionEngine [ORC][JITLink] Merge JITLink AllocActionCall and ORC WrapperFunctionCall. 2022-01-08 16:46:15 +11:00
Extensions
FileCheck [llvm] Use true/false instead of 1/0 (NFC) 2022-01-07 00:39:14 -08:00
Frontend [llvm] Fix bugprone argument comments (NFC) 2022-01-08 11:56:38 -08:00
FuzzMutate
Fuzzer
IR [llvm] Remove redundant member initialization (NFC) 2022-01-07 17:45:09 -08:00
IRReader
InterfaceStub [llvm] Remove redundant member initialization (NFC) 2022-01-07 17:45:09 -08:00
LTO [LTO][codegen] Add TargetLibraryInfoWrapperPass initially 2022-01-06 09:24:35 +08:00
LineEditor [llvm] Use range-based for loops (NFC) 2021-12-09 09:37:29 -08:00
Linker [NFC] Replace some deprecated getAlignment() calls with getAlign() 2021-12-09 08:43:19 -08:00
MC [llvm] Fix bugprone argument comments (NFC) 2022-01-08 11:56:38 -08:00
MCA [llvm] Remove redundant member initialization (NFC) 2022-01-07 17:45:09 -08:00
Object [dwarf][NFC] Move expandBundle() to MachO.h 2021-12-15 19:08:56 -08:00
ObjectYAML [yaml2obj][XCOFF] parsing auxiliary symbols. 2022-01-10 02:38:49 +00:00
Option [llvm] Use range-based for loops (NFC) 2021-12-09 09:37:29 -08:00
Passes Fix build failure with GCC 11 in C++20 mode 2022-01-06 17:20:26 +01:00
ProfileData [llvm] Use true/false instead of 1/0 (NFC) 2022-01-07 00:39:14 -08:00
Remarks [llvm] Remove redundant member initialization (NFC) 2022-01-07 17:45:09 -08:00
Support [llvm] Fix bugprone argument comments (NFC) 2022-01-08 11:56:38 -08:00
TableGen [llvm] Use true/false instead of 1/0 (NFC) 2022-01-07 00:39:14 -08:00
Target [RISCV] Isel (sra (sext_inreg X, i16), C) -> (srai (slli X, (XLen-16), (XLen-16) + C). 2022-01-09 21:23:43 -08:00
Testing
TextAPI
ToolDrivers [Type] Avoid APFloat.h include (NFC) 2021-10-09 11:29:26 +02:00
Transforms [Attributor][FIX] Remove assumption that doesn't have to hold 2022-01-09 13:15:53 -06:00
WindowsManifest [llvm] Use nullptr instead of 0 (NFC) 2021-12-28 08:52:25 -08:00
XRay Support: Use Expected<T>::moveInto() in a few places 2021-10-22 12:40:10 -07:00
CMakeLists.txt [llvm] [Debuginfo] Debuginfod client library. 2021-12-06 21:52:38 +00:00