[all-commits] [llvm/llvm-project] c8eeee: AMDGPU: Drop unsafe 1/sqrt -> rsq combine

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Aug 16 05:52:31 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c8eeee2be2db2bd7a469065878852a5833add9b9
      https://github.com/llvm/llvm-project/commit/c8eeee2be2db2bd7a469065878852a5833add9b9
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-08-16 (Wed, 16 Aug 2023)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp

  Log Message:
  -----------
  AMDGPU: Drop unsafe 1/sqrt -> rsq combine

AMDGPUCodeGenPrepare implements a safer version of this that handles
denormals correctly.

https://reviews.llvm.org/D158032




More information about the All-commits mailing list