SelectionDAGBuilder::visitAlloca assumes alloca address space is 0, which is
incorrect for triple amdgcn---amdgiz and causes isel failure.
This patch fixes that.
Paths
| Differential D40095
Fix pointer EVT in SelectionDAGBuilder::visitAlloca ClosedPublic Authored by yaxunl on Nov 15 2017, 12:35 PM.
Details Summary SelectionDAGBuilder::visitAlloca assumes alloca address space is 0, which is This patch fixes that.
Diff Detail
Event Timeline
This revision is now accepted and ready to land.Nov 15 2017, 6:56 PM Closed by commit rL318392: Fix pointer EVT in SelectionDAGBuilder::visitAlloca (authored by yaxunl). · Explain WhyNov 16 2017, 4:22 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 123155 llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/trunk/test/CodeGen/AMDGPU/dynamic_stackalloc.ll
|