diff options
Diffstat (limited to 'compiler/cmm/CmmSink.hs')
-rw-r--r-- | compiler/cmm/CmmSink.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/cmm/CmmSink.hs b/compiler/cmm/CmmSink.hs index 7bfc07547b..6317cfe929 100644 --- a/compiler/cmm/CmmSink.hs +++ b/compiler/cmm/CmmSink.hs @@ -477,7 +477,7 @@ into (a != b) but there's one case it can't handle: when the comparison is over floating-point values, we can't invert it, because floating-point -comparisions aren't invertible (because NaN). +comparisons aren't invertible (because of NaNs). But we *can* optimise this conditional by swapping the true and false branches. Given |