[llvm] [Verifier][AMDGPU] Restrict targets for chain calling convention. (PR #157469)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 10 10:24:27 PDT 2025
================
@@ -0,0 +1,6 @@
+; RUN: not llc -mtriple=amdgcn -mcpu=gfx1200 -o - < %s 2>&1 | FileCheck %s
+
+define amdgpu_cs_chain void @test_alloca() {
+; CHECK: Chain calling convention is invalid on this target
----------------
jofrn wrote:
https://github.com/llvm/llvm-project/pull/132711 fixes the restriction, but they mentioned that the IR is invalid for this architecture, so the PR was never approved.
https://github.com/llvm/llvm-project/pull/157469
More information about the llvm-commits
mailing list