[llvm] [AMDGPU] Try to reuse in v_cndmask register with constant from compare. (PR #131146)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 13 07:10:18 PDT 2025


================
@@ -0,0 +1,171 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
+; RUN: llc -mtriple=amdgcn -mcpu=gfx900 -verify-machineinstrs  < %s | FileCheck %s -check-prefix=GFX9
+; RUN: llc -mtriple=amdgcn -mcpu=gfx1030 -verify-machineinstrs  < %s | FileCheck %s -check-prefix=GFX10
+
----------------
arsenm wrote:

What about with inline immediate? It shouldn't be any better? 

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


More information about the llvm-commits mailing list