[PATCH] D107507: [amdgpu] Revise the conversion from i64 to f32.

Michael Liao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 4 15:17:49 PDT 2021


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

- Replace 'cmp+sel' with 'umin' if possible.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D107507

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107507.364267.patch
Type: text/x-patch
Size: 88246 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210804/494f1995/attachment.bin>


More information about the llvm-commits mailing list