From c1e7a459e72607bd8950e7ab3d79f53909ea8c65 Mon Sep 17 00:00:00 2001 From: Edgar Luque Date: Mon, 27 Nov 2023 15:11:36 +0100 Subject: [PATCH] fixes --- content/blog/mlir-with-rust.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/blog/mlir-with-rust.md b/content/blog/mlir-with-rust.md index 3d31c63..ff2ff63 100644 --- a/content/blog/mlir-with-rust.md +++ b/content/blog/mlir-with-rust.md @@ -201,7 +201,7 @@ module.body().append_operation(func::func( location, )); - block.append_operation(r#while( + block.append_operation(scf::r#while( &[initial.result(0).unwrap().into()], &[float_type], { @@ -220,7 +220,7 @@ module.body().append_operation(func::func( location, )); - block.append_operation(super::condition( + block.append_operation(scf::condition( condition.result(0).unwrap().into(), &[result.result(0).unwrap().into()], location, @@ -239,7 +239,7 @@ module.body().append_operation(func::func( location, )); - block.append_operation(r#yield( + block.append_operation(scf::r#yield( &[result.result(0).unwrap().into()], location, ));