Skip to content

Commit dec120e

Browse files
authored
[CIR] Fix typos after backport of standardized element type name (#1595)
1 parent a9eac21 commit dec120e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CIR/Lowering/LoweringHelpers.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ lowerConstVectorAttr(cir::ConstVectorAttr constArr,
208208
auto dims = llvm::SmallVector<int64_t, 2>{};
209209
while (auto arrayType = mlir::dyn_cast<cir::ArrayType>(type)) {
210210
dims.push_back(arrayType.getSize());
211-
type = arrayType.getEltType();
211+
type = arrayType.getElementType();
212212
}
213213

214214
if (mlir::isa<cir::IntType>(type))

0 commit comments

Comments
 (0)