[PATCH] D40085: Fix APInt bit size in processDbgDeclares
Yaxun Liu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 15 08:59:10 PST 2017
yaxunl created this revision.
Herald added subscribers: JDevlieghere, nhaehnle, wdng.
processDbgDeclares assumes pointer size is the same for different addr spaces.
It uses pointer size for addr space 0 for all pointers, which causes assertion
in stripAndAccumulateInBoundsConstantOffsets for amdgcn---amdgiz since
pointer in addr space 5 has different size than in addr space 0.
This patch fixes that.
https://reviews.llvm.org/D40085
Files:
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
test/CodeGen/AMDGPU/debugger-emit-prologue.ll
test/CodeGen/AMDGPU/debugger-insert-nops.ll
test/CodeGen/AMDGPU/debugger-reserve-regs.ll
test/CodeGen/AMDGPU/hsa-metadata-kernel-debug-props.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40085.123037.patch
Type: text/x-patch
Size: 13335 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171115/a2f597f4/attachment.bin>
More information about the llvm-commits
mailing list