[PATCH] D30217: AMDGPU: Fix asserting on 0 dmask for image intrinsics

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 21 10:54:29 PST 2017


arsenm created this revision.
Herald added subscribers: tpr, dstuttard, tony-tye, yaxunl, nhaehnle, wdng, kzhuravl.

Fold these to undef during lowering so users get eliminated.


https://reviews.llvm.org/D30217

Files:
  lib/Target/AMDGPU/SIISelLowering.cpp
  test/CodeGen/AMDGPU/llvm.amdgcn.image.getlod.ll
  test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.ll
  test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.o.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30217.89246.patch
Type: text/x-patch
Size: 20064 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170221/c6a7e80f/attachment.bin>


More information about the llvm-commits mailing list