1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test
David Sherwood ac8a8b4ad9 [SVE][CodeGen] Fix scalable vector issues in DAGTypeLegalizer::GenWidenVectorStores
In DAGTypeLegalizer::GenWidenVectorStores the algorithm assumes it only
ever deals with fixed width types, hence the offsets for each individual
store never take 'vscale' into account. I've changed the main loop in
that function to use TypeSize instead of unsigned for tracking the
remaining store amount and offset increment. In addition, I've changed
the loop to use the new IncrementPointer helper function for updating
the addresses in each iteration, since this handles scalable vector
types.

Whilst fixing this function I also fixed a minor issue in
IncrementPointer whereby we were not adding the no-unsigned-wrap flag
for the add instruction in the same way as the fixed width case does.

Also, I've added a report_fatal_error in GenWidenVectorTruncStores,
since this code currently uses a sequence of element-by-element scalar
stores.

I've added new tests in

  CodeGen/AArch64/sve-intrinsics-stores.ll
  CodeGen/AArch64/sve-st1-addressing-mode-reg-imm.ll

for the changes in GenWidenVectorStores.

Differential Revision: https://reviews.llvm.org/D84937
2020-08-13 11:07:17 +01:00
..
Analysis Revert "[SCEV] Look through single value PHIs." 2020-08-12 23:13:24 -07:00
Assembler
Bindings
Bitcode
BugPoint
CodeGen [SVE][CodeGen] Fix scalable vector issues in DAGTypeLegalizer::GenWidenVectorStores 2020-08-13 11:07:17 +01:00
DebugInfo [test] XFAIL two tests with inlining debug info issues on Sparc 2020-08-13 11:12:52 +02:00
Demangle
Examples
ExecutionEngine
Feature
FileCheck
Instrumentation [SanitizerCoverage] Use zeroext for cmp parameters on all targets 2020-08-12 18:38:12 +02:00
Integer
JitListener
Linker [test] XFAIL two tests with inlining debug info issues on Sparc 2020-08-13 11:12:52 +02:00
LTO
MachineVerifier
MC [WebAssembly][AsmParser] Name missing features in error message 2020-08-11 17:26:14 -07:00
Object [llvm-readobj/elf] - Remove unwrapOrError calls from DumpStyle<ELFT>::printRelocationsHelper. 2020-08-11 16:49:37 +03:00
ObjectYAML [macho2yaml] Refactor the DWARF section dumpers. 2020-08-11 10:18:34 +08:00
Other
Reduce
SafepointIRVerifier
Support
SymbolRewriter
TableGen [MLIR,OpenMP] Lowering of parallel operation: proc_bind clause 2/n 2020-08-12 08:03:13 +01:00
ThinLTO/X86
tools [AMDGPU][test] Add dedicated llvm-readobj test. 2020-08-12 09:11:36 -07:00
Transforms [InstCombine] Precommit tests for PR47149. 2020-08-13 10:36:52 +01:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt [CMake] Simplify CMake handling for zlib 2020-08-11 20:22:11 -07:00
lit.cfg.py
lit.site.cfg.py.in [CMake] Simplify CMake handling for zlib 2020-08-11 20:22:11 -07:00
TestRunner.sh