diff --git a/cranelift/codegen/src/opts/algebraic.isle b/cranelift/codegen/src/opts/algebraic.isle index c25fb5a1c3..da177603eb 100644 --- a/cranelift/codegen/src/opts/algebraic.isle +++ b/cranelift/codegen/src/opts/algebraic.isle @@ -42,7 +42,7 @@ x)) (subsume x)) -;; x*0 == 0*x == x. +;; x*0 == 0*x == 0. (rule (simplify (imul ty _ zero @ (iconst ty (u64_from_imm64 0))))