diff --git a/lib/Dialect/mhlo/transforms/lower_complex.cc b/lib/Dialect/mhlo/transforms/lower_complex.cc index 0bc47fe..083da64 100644 --- a/lib/Dialect/mhlo/transforms/lower_complex.cc +++ b/lib/Dialect/mhlo/transforms/lower_complex.cc @@ -51,7 +51,7 @@ class LowerComplex : public PassWrapper { } // end anonymous namespace namespace mlir { -namespace hlo { +namespace mhlo { namespace { #include "third_party/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/generated_lower_complex.inc" @@ -62,14 +62,14 @@ void PopulateComplexLoweringPatterns(MLIRContext* context, OwningRewritePatternList* patterns) { populateWithGenerated(context, patterns); } -} // end namespace hlo +} // end namespace mhlo } // end namespace mlir // Lowers the complex operations that can be represented using other operations. void LowerComplex::runOnFunction() { // Add lowering patterns to the list. OwningRewritePatternList patterns; - mlir::hlo::PopulateComplexLoweringPatterns(&getContext(), &patterns); + mlir::mhlo::PopulateComplexLoweringPatterns(&getContext(), &patterns); applyPatternsAndFoldGreedily(getFunction(), patterns); }