[llvm] [DirectX] Scalarize `extractelement` with dynamic index (PR #141676)
Farzon Lotfi via llvm-commits
llvm-commits at lists.llvm.org
Tue May 27 15:45:57 PDT 2025
================
@@ -27,6 +27,20 @@ static const int MaxVecSize = 4;
using namespace llvm;
+// Recursively creates an array-like version of a given vector type.
+static Type *equivalentArrayTypeFromVector(Type *T) {
----------------
farzonl wrote:
This is fine I would have just made a function declaration at the top so the implementation could live anywhere.
https://github.com/llvm/llvm-project/pull/141676
More information about the llvm-commits
mailing list