[llvm] [DirectX] Let data scalarizer pass account for sub-types when updating GEP type (PR #166200)

Finn Plummer via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 3 09:56:40 PST 2025


================
@@ -42,3 +42,68 @@ define void @alloca_2d_gep_test() {
   %3 = getelementptr inbounds nuw [2 x <2 x i32>], ptr %1, i32 0, i32 %2
   ret void
 }
+
----------------
inbelic wrote:

FYI: SCHECK denotes just running the `dxil-data-scalarization` pass and FCHECK denotes running both that and the `dxil-flatten-arrays` pass

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


More information about the llvm-commits mailing list