[all-commits] [llvm/llvm-project] edca49: [AMDGPU] Match med3 for (max (min ..))

Pierre van Houtryve via All-commits all-commits at lists.llvm.org
Tue Mar 7 02:14:49 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: edca49cfb766ef4f6e665b13808976d119bc1f1d
      https://github.com/llvm/llvm-project/commit/edca49cfb766ef4f6e665b13808976d119bc1f1d
  Author: pvanhout <pierre.vanhoutryve at amd.com>
  Date:   2023-03-07 (Tue, 07 Mar 2023)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.h
    M llvm/test/CodeGen/AMDGPU/mad_uint24.ll
    M llvm/test/CodeGen/AMDGPU/saddsat.ll
    M llvm/test/CodeGen/AMDGPU/smed3.ll
    M llvm/test/CodeGen/AMDGPU/ssubsat.ll
    M llvm/test/CodeGen/AMDGPU/umed3.ll
    M llvm/test/CodeGen/AMDGPU/v_sat_pk_u8_i16.ll

  Log Message:
  -----------
  [AMDGPU] Match med3 for (max (min ..))

We previously only matched (min (max ...))

Depends on D144728

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D145159




More information about the All-commits mailing list