We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3f1a51 commit cda7e88Copy full SHA for cda7e88
llvm/lib/Target/DirectX/DXILDataScalarization.cpp
@@ -33,7 +33,8 @@ static Type *equivalentArrayTypeFromVector(Type *T) {
33
return ArrayType::get(VecTy->getElementType(),
34
dyn_cast<FixedVectorType>(VecTy)->getNumElements());
35
if (auto *ArrayTy = dyn_cast<ArrayType>(T)) {
36
- Type *NewElementType = equivalentArrayTypeFromVector(ArrayTy->getElementType());
+ Type *NewElementType =
37
+ equivalentArrayTypeFromVector(ArrayTy->getElementType());
38
return ArrayType::get(NewElementType, ArrayTy->getNumElements());
39
}
40
// If it's not a vector or array, return the original type.
0 commit comments