[PATCH] D116042: [AMDGPU][InstCombine] Remove zero LOD bias
Sebastian Neubauer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 20 07:54:17 PST 2021
sebastian-ne created this revision.
sebastian-ne added reviewers: arsenm, rampitec, foad.
Herald added subscribers: wenlei, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl.
sebastian-ne requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.
If the bias is zero, we can remove it from the image instruction.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D116042
Files:
llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
llvm/lib/Target/AMDGPU/MIMGInstructions.td
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.sample.bias_zero.ll
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.bias_zero.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116042.395452.patch
Type: text/x-patch
Size: 16906 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211220/53db938c/attachment.bin>
More information about the llvm-commits
mailing list