[llvm] [AMDGPU][NewPass] Attempt to promote uniform ptr arguments to inreg (PR #210410)

Akash Dutta via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 18 05:53:58 PDT 2026


================
@@ -0,0 +1,300 @@
+//===-- AMDGPUPromoteUniformArgs.cpp --------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+//
+// Promote provably-uniform pointer arguments of internal callees to \c inreg
----------------
akadutta wrote:

I have that planned as a follow up to reduce the blast radius.

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


More information about the llvm-commits mailing list