[llvm] [AMDGPU] Prefer packed minimum/maximum ops for two-input ops (PR #215449)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 12 05:02:45 PDT 2026
================
@@ -0,0 +1,23 @@
+; RUN: llc -mtriple=amdgpu9.50-amd-amdhsa < %s | FileCheck -check-prefix=GFX950 %s
+; RUN: llc -mtriple=amdgpu12.50-amd-amdhsa < %s | FileCheck -check-prefix=GFX1250 %s
+
+define <2 x half> @maximum_v2f16(<2 x half> %src0, <2 x half> %src1) {
----------------
arsenm wrote:
We already have tests for these sorts of patterns
https://github.com/llvm/llvm-project/pull/215449
More information about the llvm-commits
mailing list