Skip to content

Commit e9668d3

Browse files
committed
Fix format string in ConversionPatterns.hpp
Remove parts of llvm::formatv string correspond to File, Line and Func arguments of triton::AssertOp.
1 parent 4288fc7 commit e9668d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: include/triton-shared/Conversion/TritonArithToLinalg/ConversionPatterns.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,7 @@ struct AssertConverter : public OpConversionPattern<triton::AssertOp> {
836836
}
837837

838838
auto assertMessage =
839-
llvm::formatv("{0}.py:{1}: {2} Assertion `{3}` failed", op.getMessage());
839+
llvm::formatv("Assertion `{0}` failed", op.getMessage());
840840
rewriter.create<mlir::cf::AssertOp>(op.getLoc(), condVal,
841841
assertMessage.str());
842842

0 commit comments

Comments
 (0)