1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/test
Craig Topper 771f76cbf1 [RISCV] Optimize fixed vector ABS. Fix crash on scalable vector ABS for SEW=64 with RV32.
The default fixed vector expansion uses sra+xor+add since it can't
see that smax is legal due to our custom handling. So we select
smax(X, sub(0, X)) manually.

Scalable vectors are able to use the smax expansion automatically
for most cases. It crashes in one case because getConstant can't build a
SPLAT_VECTOR for nxvXi64 when i64 scalars aren't legal. So
we manually emit a SPLAT_VECTOR_I64 for that case.

Reviewed By: frasercrmck

Differential Revision: https://reviews.llvm.org/D97991
2021-03-09 08:51:03 -08:00
..
Analysis [NFCI] SCEVExpander: emit intrinsics for integral {u,s}{min,max} SCEV expressions 2021-03-06 21:52:46 +03:00
Assembler [Assembler] Fix global icmp test 2021-03-08 17:26:49 +01:00
Bindings
Bitcode
BugPoint
CodeGen [RISCV] Optimize fixed vector ABS. Fix crash on scalable vector ABS for SEW=64 with RV32. 2021-03-09 08:51:03 -08:00
DebugInfo [DebugInfo] Add tests for ISel handling of variadic debug values 2021-03-09 12:42:15 +00:00
Demangle
Examples
ExecutionEngine [Orc] Test DebugObjectManagerPlugin fills in load-address for .text section of in-memory ELF debug object 2021-03-09 14:01:50 +01:00
Feature
FileCheck
Instrumentation [dfsan] Remove hardcoded shadow width in struct.ll 2021-03-08 12:24:19 -08:00
Integer
JitListener
Linker
LTO
MachineVerifier
MC [CodeGen] Report a normal instead of fatal error for label redefinition 2021-03-09 10:54:41 +00:00
Object
ObjectYAML
Other
Reduce
SafepointIRVerifier
Support
SymbolRewriter
TableGen
ThinLTO/X86
tools [llvm-objcopy][MachO] Add support for --keep-undefined 2021-03-08 18:57:25 -08:00
Transforms [InstCombine] canonicalize 'not' op after min/max intrinsic 2021-03-09 11:33:28 -05:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg.py
lit.site.cfg.py.in
TestRunner.sh