Permalink
Browse files

maybeInvertComparison: remove floating-point comparisons

See comments.
  • Loading branch information...
1 parent babe3c6 commit 69cda9ef2a54753ee43dda0c3d0ecec21bde8b85 @simonmar simonmar committed Aug 7, 2012
Showing with 0 additions and 6 deletions.
  1. +0 −6 compiler/cmm/CmmMachOp.hs
@@ -274,12 +274,6 @@ maybeInvertComparison op
MO_S_Gt r -> Just (MO_S_Le r)
MO_S_Le r -> Just (MO_S_Gt r)
MO_S_Ge r -> Just (MO_S_Lt r)
- MO_F_Eq r -> Just (MO_F_Ne r)
- MO_F_Ne r -> Just (MO_F_Eq r)
- MO_F_Ge r -> Just (MO_F_Le r)
- MO_F_Le r -> Just (MO_F_Ge r)
- MO_F_Gt r -> Just (MO_F_Lt r)
- MO_F_Lt r -> Just (MO_F_Gt r)
_other -> Nothing
-- ----------------------------------------------------------------------------

0 comments on commit 69cda9e

Please sign in to comment.