[Git][ghc/ghc][wip/andreask/shortcut_bug] Apply 1 suggestion(s) to 1 file(s)

Andreas Klebinger (@AndreasK) gitlab at gitlab.haskell.org
Wed Mar 20 15:49:45 UTC 2024



Andreas Klebinger pushed to branch wip/andreask/shortcut_bug at Glasgow Haskell Compiler / GHC


Commits:
744ff570 by Sylvain Henry at 2024-03-20T15:49:43+00:00
Apply 1 suggestion(s) to 1 file(s)
- - - - -


1 changed file:

- compiler/GHC/CmmToAsm/PPC/Instr.hs


Changes:

=====================================
compiler/GHC/CmmToAsm/PPC/Instr.hs
=====================================
@@ -518,7 +518,7 @@ jumpDestsOfInstr insn
   = case insn of
         BCC _ id _       -> [Just id]
         BCCFAR _ id _    -> [Just id]
-        BCTR targets _ _ -> [Just id | Just id <- targets]
+        BCTR targets _ _ -> targets
         _                -> []
 
 



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/744ff5703ee5dc64e86cac2a86a78c35189c7296

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/744ff5703ee5dc64e86cac2a86a78c35189c7296
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/20240320/37dc5d6d/attachment.html>


More information about the ghc-commits mailing list