[all-commits] [llvm/llvm-project] 05783e: [amdgpu] Revise the conversion from i64 to f32.

darkbuck via All-commits all-commits at lists.llvm.org
Fri Aug 6 14:02:08 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 05783e1cfe40ce20b080c9fce1b148515c027fa4
      https://github.com/llvm/llvm-project/commit/05783e1cfe40ce20b080c9fce1b148515c027fa4
  Author: Michael Liao <michael.hliao at gmail.com>
  Date:   2021-08-06 (Fri, 06 Aug 2021)

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

  Log Message:
  -----------
  [amdgpu] Revise the conversion from i64 to f32.

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

Reviewed By: foad

Differential Revision: https://reviews.llvm.org/D107507




More information about the All-commits mailing list