From cf3fb956e9e370a8daa5c72fd0695e3c030d834d Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Fri, 3 Aug 2012 16:37:33 +0100 Subject: [PATCH] MO_F_Mul and MO_F_Add are commutative --- compiler/cmm/CmmMachOp.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler/cmm/CmmMachOp.hs b/compiler/cmm/CmmMachOp.hs index 2bf8bc207e..5073517be9 100644 --- a/compiler/cmm/CmmMachOp.hs +++ b/compiler/cmm/CmmMachOp.hs @@ -198,6 +198,8 @@ isCommutableMachOp mop = MO_And _ -> True MO_Or _ -> True MO_Xor _ -> True + MO_F_Add _ -> True + MO_F_Mul _ -> True _other -> False -- ---------------------------------------------------------------------------- -- GitLab