[llvm] [AMDGPU] Sink uniform buffer address offsets into soffset (PR #160939)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 26 17:43:20 PDT 2025


================
@@ -341,8 +338,23 @@ void AMDGPUDAGToDAGISel::PreprocessISelDAG() {
 
     switch (N->getOpcode()) {
     case ISD::BUILD_VECTOR:
-      // TODO: Match load d16 from shl (extload:i16), 16
-      MadeChange |= matchLoadD16FromBuildVector(N);
+      // D16 optimization requires subtarget support
----------------
arsenm wrote:

Isn't that for the legacy intrinsics? The new intrinsics have the explicit soffset and voffset operands 

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


More information about the llvm-commits mailing list