[llvm] [DirectX] Scalarize Allocas as part of data scalarization (PR #140165)

Deric C. via llvm-commits llvm-commits at lists.llvm.org
Thu May 15 17:54:59 PDT 2025


================
@@ -83,6 +91,42 @@ DataScalarizerVisitor::lookupReplacementGlobal(Value *CurrOperand) {
   return nullptr; // Not found
 }
 
+// Recursively Creates and Array like version of the given vector like type.
----------------
Icohedron wrote:

nit: I know the original comment read like this but I think it may as well be changed now to make more sense.
```suggestion
// Recursively creates an array-like version of the given vector type.
```

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


More information about the llvm-commits mailing list