[llvm] [AMDGPU] Add legalizer rule support for AMDGPU's regbank fminimumnum and fmaximumnum (PR #192719)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 17 12:23:15 PDT 2026


================
@@ -32,6 +32,12 @@
 ; RUN: llc -global-isel=0 -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1200 -mattr=-real-true16 < %s | FileCheck -check-prefixes=GFX12,GFX12-FAKE16,GFX12-SDAG,GFX12-FAKE16-SDAG %s
 ; RUN: llc -global-isel -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1200 -mattr=-real-true16 < %s | FileCheck -check-prefixes=GFX12,GFX12-FAKE16,GFX12-GISEL,GFX12-FAKE16-GISEL %s
 
+; RUN: llc -global-isel -new-reg-bank-select -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1100 -mattr=-real-true16 < %s | FileCheck -check-prefixes=GFX11-REGBANK,GFX11-FAKE16-REGBANK %s
----------------
arsenm wrote:

Only touches the minimumnum, not the maximumnum test?

https://github.com/llvm/llvm-project/pull/192719


More information about the llvm-commits mailing list