[PATCH] D107187: [amdgpu] Add an enhanced conversion from i64 to f32.

Michael Liao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 3 10:12:30 PDT 2021


hliao updated this revision to Diff 363797.
hliao added a comment.

use CTLZ directly.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107187/new/

https://reviews.llvm.org/D107187

Files:
  llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
  llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
  llvm/test/CodeGen/AMDGPU/GlobalISel/cvt_f32_ubyte.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sitofp.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-uitofp.mir
  llvm/test/CodeGen/AMDGPU/sint_to_fp.i64.ll
  llvm/test/CodeGen/AMDGPU/uint_to_fp.i64.ll
  llvm/test/CodeGen/AMDGPU/uint_to_fp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107187.363797.patch
Type: text/x-patch
Size: 103747 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210803/3e76f61d/attachment.bin>


More information about the llvm-commits mailing list