[PATCH] D128445: [AMDGPU] Add patterns for GFX11 v_minmax and v_maxmin instructions
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 28 06:54:55 PDT 2022
arsenm added a comment.
Should include some tests with a 0/1 clamp pattern. I would hope the clamp pattern wins out
================
Comment at: llvm/test/CodeGen/AMDGPU/minmax.ll:2
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc -march=amdgcn -mcpu=gfx1100 -verify-machineinstrs < %s | FileCheck -check-prefixes=GFX11,SDAG %s
+; RUN: llc -global-isel -march=amdgcn -mcpu=gfx1100 -verify-machineinstrs < %s | FileCheck -check-prefixes=GFX11,GISEL %s
----------------
Explicit -global-isel=1/0
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128445/new/
https://reviews.llvm.org/D128445
More information about the llvm-commits
mailing list