================ @@ -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 _______________________________________________ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
