================
@@ -0,0 +1,172 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
UTC_ARGS: --function-signature --check-attributes --check-globals
--prefix-filecheck-ir-name true
+; RUN: opt -mtriple=nvptx-unknown-unknown -aa-pipeline=basic-aa
-passes=attributor -attributor-manifest-internal -attributor-annotate-decl-cs
-S < %s | FileCheck %s --check-prefix=CHECK
+
+; ModuleID = '/app/example.cu'
+target datalayout =
"e-p6:32:32-i64:64-i128:128-i256:256-v16:16-v32:32-n16:32:64"
+
+@_ZZ27mcasi_digit_counters_kernelE14shared_storage = internal addrspace(3)
global [256 x i32] undef, align 4
+
+; Function Attrs: convergent mustprogress noinline norecurse nounwind
+;.
+; CHECK: @_ZZ27mcasi_digit_counters_kernelE14shared_storage = internal
addrspace(3) global [256 x i32] undef, align 4
+;.
+define dso_local ptx_kernel void @mcasi_digit_counters_kernel(ptr nofree
noundef writeonly captures(none) %0, ptr nofree noundef readonly captures(none)
%1, i32 noundef %2) local_unnamed_addr #0 {
----------------
arsenm wrote:
Remove the extra annotations?
https://github.com/llvm/llvm-project/pull/207866
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits