[all-commits] [llvm/llvm-project] 19a035: GlobalISel: Fix round lowering

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Mar 16 08:37:39 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 19a0350187906532b9aa9dcb1f6af95f9c2e8cc1
      https://github.com/llvm/llvm-project/commit/19a0350187906532b9aa9dcb1f6af95f9c2e8cc1
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-03-16 (Mon, 16 Mar 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
    M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-intrinsic-round.mir
    M llvm/unittests/CodeGen/GlobalISel/LegalizerHelperTest.cpp

  Log Message:
  -----------
  GlobalISel: Fix round lowering

I used the implementation for floor instead of round. It also turns
out the OpenCL builtin library wasn't using the round builtin, but
implemented the expanded form.




More information about the All-commits mailing list