[Mlir-commits] [mlir] 91ef371 - [MLIR] Update `operator<<` in objects of DataFlowFramework.h (#127586)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Tue Feb 18 04:04:54 PST 2025
Author: Hyunsung Lee
Date: 2025-02-18T13:04:50+01:00
New Revision: 91ef371ae6201d481358a816d9b8fbea2ac3f565
URL: https://github.com/llvm/llvm-project/commit/91ef371ae6201d481358a816d9b8fbea2ac3f565
DIFF: https://github.com/llvm/llvm-project/commit/91ef371ae6201d481358a816d9b8fbea2ac3f565.diff
LOG: [MLIR] Update `operator<<` in objects of DataFlowFramework.h (#127586)
Added:
Modified:
mlir/include/mlir/Analysis/DataFlowFramework.h
Removed:
################################################################################
diff --git a/mlir/include/mlir/Analysis/DataFlowFramework.h b/mlir/include/mlir/Analysis/DataFlowFramework.h
index a3714c4332fbb..6aa0900d1412a 100644
--- a/mlir/include/mlir/Analysis/DataFlowFramework.h
+++ b/mlir/include/mlir/Analysis/DataFlowFramework.h
@@ -146,7 +146,7 @@ struct ProgramPoint : public StorageUniquer::BaseStorage {
Operation *op = nullptr;
};
-inline raw_ostream &operator<<(raw_ostream &os, ProgramPoint point) {
+inline raw_ostream &operator<<(raw_ostream &os, const ProgramPoint &point) {
point.print(os);
return os;
}
@@ -662,7 +662,7 @@ inline raw_ostream &operator<<(raw_ostream &os, const AnalysisState &state) {
return os;
}
-inline raw_ostream &operator<<(raw_ostream &os, LatticeAnchor anchor) {
+inline raw_ostream &operator<<(raw_ostream &os, const LatticeAnchor &anchor) {
anchor.print(os);
return os;
}
More information about the Mlir-commits
mailing list