SplitVecOp_EXTRACT_VECTOR_ELT uses dummy pointer info to generate SDLoad, which
causes isel failure on amdgcn target with amdgiz environment since amdgcn backend
needs correct address space to lower SDLoad.
This patch fixes that.
Paths
| Differential D39758
CodeGen: Fix pointer info in SplitVecOp_EXTRACT_VECTOR_ELT ClosedPublic Authored by yaxunl on Nov 7 2017, 1:51 PM.
Details Summary SplitVecOp_EXTRACT_VECTOR_ELT uses dummy pointer info to generate SDLoad, which This patch fixes that.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Nov 7 2017, 2:01 PM efriedma added inline comments.
This revision now requires changes to proceed.Nov 7 2017, 2:30 PM
This revision is now accepted and ready to land.Dec 1 2017, 1:46 PM Closed by commit rL319622: CodeGen: Fix pointer info in… (authored by yaxunl). · Explain WhyDec 2 2017, 2:13 PM This revision was automatically updated to reflect the committed changes. Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptApr 27 2022, 2:19 AM
Revision Contents
Diff 125277 llvm/trunk/include/llvm/CodeGen/MachineMemOperand.h
llvm/trunk/lib/CodeGen/MachineOperand.cpp
llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp
llvm/trunk/test/CodeGen/AMDGPU/extload-align.ll
llvm/trunk/test/CodeGen/AMDGPU/extract_vector_elt-f16.ll
llvm/trunk/test/CodeGen/AMDGPU/extract_vector_elt-f64.ll
llvm/trunk/test/CodeGen/AMDGPU/extract_vector_elt-i16.ll
llvm/trunk/test/CodeGen/AMDGPU/extract_vector_elt-i64.ll
llvm/trunk/test/CodeGen/AMDGPU/extract_vector_elt-i8.ll
llvm/trunk/test/CodeGen/AMDGPU/insert_vector_elt.ll
llvm/trunk/test/CodeGen/AMDGPU/scratch-simple.ll
llvm/trunk/test/CodeGen/AMDGPU/vgpr-spill-emergency-stack-slot-compute.ll
llvm/trunk/test/CodeGen/AMDGPU/vgpr-spill-emergency-stack-slot.ll
|
Am I right in thinking that this part of the comment should have been removed, since we're now allowing a null pointer here but with a specified (non-default) address space?