[clang] [llvm] [Clang] Add `__builtin_stack_address` (PR #148281)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 9 15:49:37 PDT 2025
================
@@ -0,0 +1,9 @@
+; RUN: not llc < %s -mtriple nvptx 2>&1 | FileCheck %s
+
+declare ptr @llvm.stackaddress.p0()
+
+define ptr @test() {
+; CHECK: STACKADDRESS is not supported on this target.
----------------
arsenm wrote:
check the error: prefix with location
https://github.com/llvm/llvm-project/pull/148281
More information about the llvm-commits
mailing list