[llvm] [AMDGPU] Add !noalias metadata to mem-accessing calls w/o pointer args (PR #188949)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 27 13:01:06 PDT 2026


================
@@ -0,0 +1,43 @@
+; RUN: opt -mtriple=amdgcn-- -S -passes=amdgpu-lower-kernel-arguments %s | FileCheck %s
+
+; Regression test for a bug where addAliasScopeMetadata skipped memory-
+; accessing calls with no pointer arguments (e.g. threadIdx()-like builtins),
----------------
arsenm wrote:

Don't understand the threadIdx example 

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


More information about the llvm-commits mailing list