[llvm] [AMDGPU] Generate waterfall for calls with SGPR(inreg) argument (PR #146997)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 10 00:51:11 PDT 2025
================
@@ -0,0 +1,224 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
+; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 < %s | FileCheck -enable-var-scope %s
+
+define hidden void @external_void_func_a15i32_inreg([15 x i32] inreg %args) #0 {
+ ret void
+}
+
+define hidden void @external_void_func_a16i32_inreg([16 x i32] inreg %args) #0 {
+ ret void
+}
+
+define hidden void @external_void_func_a15i32_inreg_i32_inreg([15 x i32] inreg %arg0, i32 inreg %arg1) #0 {
----------------
arsenm wrote:
Missing checks in these functions
https://github.com/llvm/llvm-project/pull/146997
More information about the llvm-commits
mailing list