llvm-capstone/llvm/test
Yaxun Liu 494770403a CodeGen: Fix pointer info in SplitVecOp_EXTRACT_VECTOR_ELT/SplitVecRes_INSERT_VECTOR_ELT
Two issues found when doing codegen for splitting vector with non-zero alloca addr space:

DAGTypeLegalizer::SplitVecRes_INSERT_VECTOR_ELT/SplitVecOp_EXTRACT_VECTOR_ELT uses dummy pointer info for creating
SDStore. Since one pointer operand contains multiply and add, InferPointerInfo is unable to
infer the correct pointer info, which ends up with a dummy pointer info for the target to lower
store and results in isel failure. The fix is to introduce MachinePointerInfo::getUnknownStack to
represent MachinePointerInfo which is known in alloca address space but without other information.

TargetLowering::getVectorElementPointer uses value type of pointer in addr space 0 for
multiplication of index and then add it to the pointer. However the pointer may be in an addr
space which has different size than addr space 0. The fix is to use the pointer value type for
index multiplication.

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

llvm-svn: 319622
2017-12-02 22:13:22 +00:00
..
Analysis [X86] Promote fp_to_sint v16f32->v16i16/v16i8 to avoid scalarization. 2017-11-29 00:32:09 +00:00
Assembler
Bindings
Bitcode
BugPoint
CodeGen CodeGen: Fix pointer info in SplitVecOp_EXTRACT_VECTOR_ELT/SplitVecRes_INSERT_VECTOR_ELT 2017-12-02 22:13:22 +00:00
DebugInfo [DebugInfo] Bail out if making no progress dumping line tables. 2017-12-01 18:25:30 +00:00
Examples
ExecutionEngine
Feature
FileCheck
Instrumentation [MSan] Move the access address check before the shadow access for that address 2017-11-23 08:34:32 +00:00
Integer
JitListener
Linker
LTO Object: Improve COFF irsymtab comdat representation. 2017-11-21 22:06:20 +00:00
MC [X86] Fix copy paste mistake in test case for r319612. 2017-12-02 08:39:02 +00:00
Object Add flag to ArchiveWriter to test GNU64 format more efficiently 2017-12-01 00:54:28 +00:00
ObjectYAML
Other IR printing improvement for loop passes - handle -print-module-scope 2017-12-01 18:33:58 +00:00
SafepointIRVerifier
SymbolRewriter
TableGen [globalisel][tablegen] Add support for importing G_ATOMIC_CMPXCHG, G_ATOMICRMW_* rules from SelectionDAG. 2017-11-28 22:07:05 +00:00
ThinLTO/X86
tools [llvm-readobj] Print static MIPS GOT 2017-12-02 13:06:35 +00:00
Transforms Revert "[X86] Improvement in CodeGen instruction selection for LEAs." 2017-12-01 22:20:26 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg.py Add opt-viewer testing 2017-11-29 17:07:41 +00:00
lit.site.cfg.py.in Add opt-viewer testing 2017-11-29 17:07:41 +00:00
TestRunner.sh