From a445add21354ca9f809fe4cfbaecbaf35fb66eb2 Mon Sep 17 00:00:00 2001 From: xla authors Date: Mon, 14 Oct 2024 20:00:48 -0700 Subject: [PATCH] Automated Code Change PiperOrigin-RevId: 685921284 --- .../test_infer_shaped_type/test_infer_shaped_type_pass.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xla/mlir_hlo/mhlo/transforms/test_infer_shaped_type/test_infer_shaped_type_pass.cc b/xla/mlir_hlo/mhlo/transforms/test_infer_shaped_type/test_infer_shaped_type_pass.cc index 8bd3bbc140961..0805d1337187c 100644 --- a/xla/mlir_hlo/mhlo/transforms/test_infer_shaped_type/test_infer_shaped_type_pass.cc +++ b/xla/mlir_hlo/mhlo/transforms/test_infer_shaped_type/test_infer_shaped_type_pass.cc @@ -104,7 +104,7 @@ struct TestInferShapedTypeMethodsPass } // namespace -std::unique_ptr<::mlir::Pass> createTestInferShapedTypeMethodsPass() { +static std::unique_ptr<::mlir::Pass> createTestInferShapedTypeMethodsPass() { return std::make_unique(); }