[PATCH] D116038: [AMDGPU] Fix LOD bias in A16 combine
Sebastian Neubauer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 20 06:16:16 PST 2021
sebastian-ne created this revision.
sebastian-ne added reviewers: arsenm, Ravi, rampitec, foad.
Herald added subscribers: 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.
As the codegen fix in D111754 <https://reviews.llvm.org/D111754>, the LOD bias needs to be converted to 16
bits. Fix this in the combine.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D116038
Files:
llvm/include/llvm/IR/IntrinsicsAMDGPU.td
llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h
llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
llvm/lib/Target/AMDGPU/MIMGInstructions.td
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-intrinsics.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116038.395431.patch
Type: text/x-patch
Size: 28895 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211220/e0e46008/attachment.bin>
More information about the llvm-commits
mailing list