[llvm] [AMDGPU] Add regbankselect rules for G_ICMP/G_FCMP (PR #172048)

Petar Avramovic via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 23 01:35:33 PST 2025


================
@@ -0,0 +1,1127 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 6
+; RUN: llc -mtriple=amdgcn -mcpu=gfx1200 -global-isel -new-reg-bank-select < %s | FileCheck %s
+
+define void @icmp_i16_uniform(i16 inreg %a, i16 inreg %b, ptr %p) {
----------------
petar-avramovic wrote:

need some address space on ptr argument, fails to select on older targets, addrspace(1) for example?

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


More information about the llvm-commits mailing list