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

Alex Sepkowski via llvm-commits llvm-commits at lists.llvm.org
Thu May 15 17:54:15 PDT 2025


================
@@ -65,11 +67,17 @@ class DataScalarizerVisitor : public InstVisitor<DataScalarizerVisitor, bool> {
 private:
   GlobalVariable *lookupReplacementGlobal(Value *CurrOperand);
   DenseMap<GlobalVariable *, GlobalVariable *> GlobalMap;
+  static bool isArrayOfVectors(Type *T);
----------------
alsepkow wrote:

I don't see why this is static?

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


More information about the llvm-commits mailing list