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

Pierre van Houtryve via All-commits all-commits at lists.llvm.org
Fri May 16 01:14:25 PDT 2025


  Branch: refs/heads/users/pierre-vh/minmax-dag-i16-promo
  Home:   https://github.com/llvm/llvm-project
  Commit: c0fbfb3f2dcb71e700392341be87c304f3c0159e
      https://github.com/llvm/llvm-project/commit/c0fbfb3f2dcb71e700392341be87c304f3c0159e
  Author: pvanhout <pierre.vanhoutryve at amd.com>
  Date:   2025-05-16 (Fri, 16 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