[Git][ghc/ghc][wip/T23576] Fix whitespace and update comment

Jaro Reinders (@Noughtmare) gitlab at gitlab.haskell.org
Thu Jul 6 15:50:04 UTC 2023



Jaro Reinders pushed to branch wip/T23576 at Glasgow Haskell Compiler / GHC


Commits:
7a3d5117 by Jaro Reinders at 2023-07-06T17:49:51+02:00
Fix whitespace and update comment

- - - - -


1 changed file:

- compiler/GHC/CmmToAsm/X86/CodeGen.hs


Changes:

=====================================
compiler/GHC/CmmToAsm/X86/CodeGen.hs
=====================================
@@ -1881,7 +1881,7 @@ condIntCode' platform cond x y
   where
     intComparison cond r1_hi r1_lo r2_hi r2_lo tmp1 tmp2 =
       case cond of
-        -- Let's hope these don't happen
+        -- These don't occur as argument of condIntCode'
         ALWAYS  -> panic "impossible"
         NEG     -> panic "impossible"
         POS     -> panic "impossible"
@@ -1919,7 +1919,7 @@ condIntCode' platform cond x y
             , CMP II32 (OpReg r2_lo) (OpReg r1_lo)
             , SBB II32 (OpReg r2_hi) (OpReg tmp1)
             ]
-        cmpLE = toOL 
+        cmpLE = toOL
             [ MOV II32 (OpReg r2_hi) (OpReg tmp1)
             , CMP II32 (OpReg r1_lo) (OpReg r2_lo)
             , SBB II32 (OpReg r1_hi) (OpReg tmp1)



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/7a3d51179e74a2ab4fa107426d4e8b94d8d07f35

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/7a3d51179e74a2ab4fa107426d4e8b94d8d07f35
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230706/a2925951/attachment-0001.html>


More information about the ghc-commits mailing list