1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/test
Craig Topper 3e4949e540 [LegalizeTypes] Teach DAGTypeLegalizer::GenWidenVectorLoads to pad with undef if needed when concatenating small or loads to match a larger load
In the included test case the align 16 allowed the v23f32 load to handled as load v16f32, load v4f32, and load v4f32(one element not used). These loads all need to be concatenated together into a final vector. In this case we tried to concatenate the two v4f32 loads to match the type of the v16f32 load so we could do a second concat_vectors, but those loads alone only add up to v8f32. So we need to two v4f32 undefs to pad it.

It appears we've tried to hack around a similar issue in this code before by adding undef padding to loads in one of the earlier loops in this function. Originally in r147964 by padding all loads narrower than previous loads to the same size. Later modifed to only the last load in r293088. This patch removes that earlier code and just handles it on demand where we know we need it.

Fixes PR46820

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

(cherry picked from commit 8131e190647ac2b5b085b48a6e3b48c1d7520a66)
2020-07-27 16:20:07 +02:00
..
Analysis Drop the npm run line from llvm/test/Analysis/ScalarEvolution/pr46786.ll 2020-07-23 15:11:38 +02:00
Assembler [SVE] Reject vector struct indexes for scalable vectors. 2020-06-30 13:52:38 -07:00
Bindings
Bitcode Restore "[WPD/LowerTypeTests] Delay lowering/removal of type tests until after ICP" 2020-07-14 12:16:57 -07:00
BugPoint
CodeGen [LegalizeTypes] Teach DAGTypeLegalizer::GenWidenVectorLoads to pad with undef if needed when concatenating small or loads to match a larger load 2020-07-27 16:20:07 +02:00
DebugInfo [RelocationResolver] Support R_AARCH64_PREL32 2020-07-18 15:22:02 -07:00
Demangle
Examples
ExecutionEngine [RuntimeDyld][test] Fix ExecutionEngine/RuntimeDyld/X86/ELF_x86-64_none.yaml after D60122 2020-07-07 15:05:50 -07:00
Feature [BasicAA] Rename deprecated -basicaa to -basic-aa 2020-06-26 20:41:37 -07:00
FileCheck [FileCheck] Implement -dump-input-filter 2020-07-10 11:02:11 -04:00
Instrumentation [MSAN] Implement experimental vector reduction intrinsics 2020-07-14 00:12:10 +00:00
Integer
JitListener
Linker
LTO
MachineVerifier GlobalISel: Verify G_BITCAST changes the type 2020-07-08 17:16:27 -04:00
MC [MC] [COFF] Make sure that weak external symbols are undefined symbols 2020-07-27 13:10:48 +02:00
Object [yaml2obj] - Rename FileHeader::SH* fields. 2020-07-15 12:47:31 +03:00
ObjectYAML [test] Run llvm/test/**/*.yaml & don't run llvm/test/**/*.cxx (not exist) 2020-07-08 10:22:49 -07:00
Other Restore "[WPD/LowerTypeTests] Delay lowering/removal of type tests until after ICP" 2020-07-14 12:16:57 -07:00
Reduce [llvm-reduce] Reducing attributes 2020-07-09 23:10:43 +03:00
SafepointIRVerifier
Support
SymbolRewriter
TableGen [flang][openacc] OpenACC 3.0 parser 2020-07-14 14:29:40 -04:00
ThinLTO/X86 Restore "[WPD/LowerTypeTests] Delay lowering/removal of type tests until after ICP" 2020-07-14 12:16:57 -07:00
tools [llvm-lib] Support adding short import library objects with llvm-lib 2020-07-27 16:09:05 +02:00
Transforms [InstCombine] Fix store merge worklist management (PR46680) 2020-07-23 15:13:59 +02:00
Unit
Verifier Temporarily Revert "[AssumeBundles] Use operand bundles to encode alignment assumptions" 2020-07-17 10:32:03 +02:00
YAMLParser
.clang-format Add .clang-format without column limit to subdirectory tests/. 2013-11-19 04:26:05 +00:00
CMakeLists.txt Revert "[CMake] Simplify CMake handling for zlib" 2020-07-14 19:56:10 -07:00
lit.cfg.py [test] Run llvm/test/**/*.yaml & don't run llvm/test/**/*.cxx (not exist) 2020-07-08 10:22:49 -07:00
lit.site.cfg.py.in Revert "[CMake] Simplify CMake handling for zlib" 2020-07-14 19:56:10 -07:00
TestRunner.sh