Fold these to undef during lowering so users get eliminated.
Diff Detail
Diff Detail
Paths
| Differential D30217
AMDGPU: Fix asserting on 0 dmask for image intrinsics ClosedPublic Authored by arsenm on Feb 21 2017, 10:54 AM.
Diff Detail Event TimelineHerald added subscribers: tpr, dstuttard, tony-tye and 4 others. · View Herald TranscriptFeb 21 2017, 10:54 AM arsenm added a parent revision: D30215: DAG: Fold bitcast/extract_vector_elt of undef to undef.Feb 21 2017, 10:55 AM Comment Actions
An output chain is expected, so something needs to be returned for it This revision is now accepted and ready to land.Mar 21 2017, 9:44 AM
Revision Contents
Diff 89246 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
|