Skip to content

Commit bf7a744

Browse files
author
Jeff Niu
committed
[mlir][cf-to-llvm] Fix error message
1 parent e66a1a5 commit bf7a744

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Conversion/ControlFlowToLLVM/ControlFlowToLLVM.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ static LogicalResult verifyMatchingValues(ConversionPatternRewriter &rewriter,
103103
diag << "mismatched types from operand # " << i << " ";
104104
diag << operandType;
105105
diag << " not compatible with destination block argument type ";
106-
diag << argValue.getType();
106+
diag << op.getOperandTypes().front();
107107
diag << " which should be converted with the parent op.";
108108
});
109109
}

0 commit comments

Comments
 (0)