[Mlir-commits] [mlir] [MLIR] Flatten fused locations when merging constants. (PR #75218)
Fangrui Song
llvmlistbot at llvm.org
Tue Dec 12 12:52:24 PST 2023
================
@@ -331,6 +331,42 @@ OperationFolder::tryGetOrCreateConstant(ConstantMap &uniquedConstants,
return newIt.first->second;
}
+namespace {
----------------
MaskRay wrote:
The convention is `static` function over unnamed namespace. https://llvm.org/docs/CodingStandards.html#anonymous-namespaces
https://github.com/llvm/llvm-project/pull/75218
More information about the Mlir-commits
mailing list