From 793fb3bb7838467c091d00eb8f48497fa641f51b Mon Sep 17 00:00:00 2001 From: simonmar Date: Thu, 26 Aug 2004 11:06:04 +0000 Subject: [PATCH] [project @ 2004-08-26 11:06:04 by simonmar] Urk, since when has subtraction been associative. /me dons the pointy hat. --- ghc/compiler/cmm/MachOp.hs | 1 - 1 file changed, 1 deletion(-) diff --git a/ghc/compiler/cmm/MachOp.hs b/ghc/compiler/cmm/MachOp.hs index 2d933e0..dcf9bb6 100644 --- a/ghc/compiler/cmm/MachOp.hs +++ b/ghc/compiler/cmm/MachOp.hs @@ -506,7 +506,6 @@ isAssociativeMachOp :: MachOp -> Bool isAssociativeMachOp mop = case mop of MO_Add r -> not (isFloatingRep r) - MO_Sub r -> not (isFloatingRep r) MO_Mul r -> not (isFloatingRep r) MO_And _ -> True MO_Or _ -> True -- 1.7.10.4