[llvm-branch-commits] [llvm] [AMDGPU] Add support for sub-dword types for address space 13 (PR #213223)

Matt Arsenault via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Nov 2 16:57:49 PST 2026


================
@@ -0,0 +1,216 @@
+//===- AMDGPULowerIdxOps.cpp - Expand sub-dword VGPR-memory accesses -----===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+//
+/// \file
+/// Expand the sub-dword VGPR "as memory" (address space 13) pseudos into a
----------------
arsenm wrote:

These pseudos and pass shouldn't be needed. This should just use the ordinary load/store legalizer in SelectionDAG/GlobalISel 

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


More information about the llvm-branch-commits mailing list