[all-commits] [llvm/llvm-project] 2f5a11: AMDGPU: Expand casted f16 fmed3 pattern to fmin/fm...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue May 23 00:48:41 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2f5a116cf70e4717bce20c3d9d4c7a41aa6d89ec
      https://github.com/llvm/llvm-project/commit/2f5a116cf70e4717bce20c3d9d4c7a41aa6d89ec
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-05-23 (Tue, 23 May 2023)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPU.td
    M llvm/lib/Target/AMDGPU/AMDGPUCombine.td
    M llvm/lib/Target/AMDGPU/AMDGPUCombinerHelper.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUCombinerHelper.h
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    M llvm/lib/Target/AMDGPU/AMDGPURegBankCombiner.cpp
    M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.h
    M llvm/test/CodeGen/AMDGPU/fmed3-cast-combine.ll

  Log Message:
  -----------
  AMDGPU: Expand casted f16 fmed3 pattern to fmin/fmax on gfx8

If we have legal f16 instructions but no f16 med3, we can save
one instruction by expanding out the min/max sequence compared
to casting to f32 and casting back.


  Commit: 1e34a1792610c91decd0019ee58be3a24e58af0f
      https://github.com/llvm/llvm-project/commit/1e34a1792610c91decd0019ee58be3a24e58af0f
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-05-23 (Tue, 23 May 2023)

  Changed paths:
    M llvm/lib/Analysis/InstructionSimplify.cpp

  Log Message:
  -----------
  Reapply "InstSimplify: Use isKnownNeverInfOrNaN"

This reverts commit f55224735ed39af16bccd7ff67b734fd758db6fc.


  Commit: 81ca7876185cd4676d277ed921f468e6bf419ca5
      https://github.com/llvm/llvm-project/commit/81ca7876185cd4676d277ed921f468e6bf419ca5
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-05-23 (Tue, 23 May 2023)

  Changed paths:
    M llvm/include/llvm/Analysis/ValueTracking.h
    M llvm/lib/Analysis/ValueTracking.cpp

  Log Message:
  -----------
  Reapply "ValueTracking: Delete body of isKnownNeverInfinity"

This reverts commit d1dc3e13a791fe1b99a341406b5dafec64750cb1.

200bdd9e869e2982f54923b05e54c117fd33f5d9 should have fixed
the reported regression.


  Commit: 591ba11b938cfdef5407b6b75fe54423839a8fdf
      https://github.com/llvm/llvm-project/commit/591ba11b938cfdef5407b6b75fe54423839a8fdf
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-05-23 (Tue, 23 May 2023)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/SimplifyLibCalls.h
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
    M llvm/test/Transforms/InstCombine/pow-1.ll

  Log Message:
  -----------
  Reapply "SimplifyLibCalls: Pass AssumptionCache to isKnownNeverInfinity"

This reverts commit b357f379c81811409348dd0e0273a248b055bb7a.


  Commit: 4023ca12926ba857b07e4e781273e139f9287621
      https://github.com/llvm/llvm-project/commit/4023ca12926ba857b07e4e781273e139f9287621
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-05-23 (Tue, 23 May 2023)

  Changed paths:
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/test/Transforms/InstCombine/pow-1.ll
    M llvm/test/Transforms/InstSimplify/floating-point-compare.ll

  Log Message:
  -----------
  Reapply "InstSimplify: Pass AssumptionCache to isKnownNeverInfinity"

This reverts commit 481191b0a8318e55ce467e983d78d2141e827db1.


Compare: https://github.com/llvm/llvm-project/compare/96a003b9bf79...4023ca12926b


More information about the All-commits mailing list