[all-commits] [llvm/llvm-project] 6fb544: AMDGPU/GlobalISel: Combine FMIN_LEGACY/FMAX_LEGACY

Matt Arsenault via All-commits all-commits at lists.llvm.org
Fri Jan 31 06:58:12 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6fb544d1d24c524c715d631d4bc44fd1d0ef7936
      https://github.com/llvm/llvm-project/commit/6fb544d1d24c524c715d631d4bc44fd1d0ef7936
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-01-31 (Fri, 31 Jan 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUCombine.td
    M llvm/lib/Target/AMDGPU/AMDGPUGISel.td
    M llvm/lib/Target/AMDGPU/AMDGPUPreLegalizerCombiner.cpp
    M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
    M llvm/lib/Target/AMDGPU/SIInstructions.td
    A llvm/test/CodeGen/AMDGPU/GlobalISel/fmax_legacy.ll
    A llvm/test/CodeGen/AMDGPU/GlobalISel/fmin_legacy.ll

  Log Message:
  -----------
  AMDGPU/GlobalISel: Combine FMIN_LEGACY/FMAX_LEGACY

Try out using combine definition rules.

This really should be a post-legalizer combine, but the combiner pass
is currently pre-legalize. Most of the target combines are really
post-legalize, so we should probably move the pass.




More information about the All-commits mailing list