[clang] [llvm] [mlir] [NVPTX] Add support for Shared Cluster Memory address space. (PR #135444)

Alex MacLean via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 18 14:28:30 PDT 2025


================
@@ -0,0 +1,329 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
+; RUN: llc < %s -o - -mcpu=sm_90 -mattr=+ptx78 | FileCheck %s
+; RUN: %if ptxas-12.0 %{ llc < %s -mcpu=sm_90 -mattr=+ptx78| %ptxas-verify -arch=sm_90 %}
+
+target triple = "nvptx64-nvidia-cuda"
+
+ at llvm.used = appending global [5 x ptr] [
+  ptr @test_distributed_shared_cluster_common,
----------------
AlexMaclean wrote:

our lit tests generally don't use `@llvm.used`, can you remove this?

https://github.com/llvm/llvm-project/pull/135444


More information about the llvm-commits mailing list