Skip to content

Commit dfa13d3

Browse files
wsmosesivanradanov
andauthored
Update mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
Co-authored-by: Ivan R. Ivanov <[email protected]>
1 parent e20b3fd commit dfa13d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1899,7 +1899,7 @@ static Type getInsertExtractValueElementType(Type llvmType,
18991899

19001900
OpFoldResult LLVM::ExtractValueOp::fold(FoldAdaptor adaptor) {
19011901
if (auto extractValueOp = getContainer().getDefiningOp<ExtractValueOp>()) {
1902-
SmallVector<int64_t, 1> newPos(extractValueOp.getPosition());
1902+
SmallVector<int64_t, 4> newPos(extractValueOp.getPosition());
19031903
newPos.append(getPosition().begin(), getPosition().end());
19041904
setPosition(newPos);
19051905
getContainerMutable().set(extractValueOp.getContainer());

0 commit comments

Comments
 (0)