[PATCH] D112733: [AMDGPU] Fix cvt_f32_ubyte combine with shl

Vang Thao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 28 09:56:12 PDT 2021


vangthao created this revision.
Herald added subscribers: foad, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl, arsenm.
vangthao requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

Shift node is still needed to check if the shift is shr or shl to increment/decrement offset. Do not override the node.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D112733

Files:
  llvm/lib/Target/AMDGPU/SIISelLowering.cpp
  llvm/test/CodeGen/AMDGPU/cvt_f32_ubyte.ll
  llvm/test/CodeGen/AMDGPU/cvt_f32_ubyte_vector.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112733.383069.patch
Type: text/x-patch
Size: 17649 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211028/61488dae/attachment.bin>


More information about the llvm-commits mailing list