[llvm-branch-commits] [llvm] [AMDGPU] Allocate and reserve registers for address space 13 objects (PR #214248)
Carl Ritson via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Nov 9 02:06:42 PST 2026
================
@@ -0,0 +1,101 @@
+; RUN: not llc -global-isel=0 -mtriple=amdgpu12.00-- -filetype=null %s 2>&1 | FileCheck %s
+; RUN: not llc -global-isel=1 -mtriple=amdgpu12.00-- -filetype=null %s 2>&1 | FileCheck %s
+
+; The diagnostic is an error, but code is still produced: check that a
+; synthesized end goes after the call rather than before it, since an end placed
+; early would release the object's registers while it is still live.
+; RUN: not llc -global-isel=0 -mtriple=amdgpu12.00-- -o - %s 2>/dev/null | FileCheck %s --check-prefix=ASM
+
+; ASM-LABEL: call_in_exit_block:
----------------
perlfu wrote:
This can match anywhere, so it seems fairly brittle.
Should at least live next to `call_in_exit_block`.
https://github.com/llvm/llvm-project/pull/214248
More information about the llvm-branch-commits
mailing list