[all-commits] [llvm/llvm-project] 4eec26: [AMDGPU] Handle min/max in isNarrowingProfitable

Pierre van Houtryve via All-commits all-commits at lists.llvm.org
Fri May 16 00:21:42 PDT 2025


  Branch: refs/heads/users/pierre-vh/minmax-dag-i16-promo
  Home:   https://github.com/llvm/llvm-project
  Commit: 4eec26b1b4bafdf25da3b73f57287d45e7523532
      https://github.com/llvm/llvm-project/commit/4eec26b1b4bafdf25da3b73f57287d45e7523532
  Author: pvanhout <pierre.vanhoutryve at amd.com>
  Date:   2025-05-15 (Thu, 15 May 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
    M llvm/test/CodeGen/AMDGPU/min.ll
    M llvm/test/CodeGen/AMDGPU/v_sat_pk_u8_i16.ll

  Log Message:
  -----------
  [AMDGPU] Handle min/max in isNarrowingProfitable

Introduces a slight regression in some cases but it'll even out once we
disable the promotion in CGP.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list