[Git][ghc/ghc][wip/ncg-simd] remove redundant code in CmmToAsm/PPC/Instr
sheaf (@sheaf)
gitlab at gitlab.haskell.org
Sun Jun 9 12:19:54 UTC 2024
sheaf pushed to branch wip/ncg-simd at Glasgow Haskell Compiler / GHC
Commits:
fbd321e8 by sheaf at 2024-06-09T14:19:42+02:00
remove redundant code in CmmToAsm/PPC/Instr
- - - - -
1 changed file:
- compiler/GHC/CmmToAsm/PPC/Instr.hs
Changes:
=====================================
compiler/GHC/CmmToAsm/PPC/Instr.hs
=====================================
@@ -563,7 +563,6 @@ mkSpillInstr config reg delta slot
ArchPPC -> II32
_ -> II64
RcFloatOrVector -> FF64
- _ -> panic "PPC.Instr.mkSpillInstr: no match"
instr = case makeImmediate W32 True (off-delta) of
Just _ -> ST
Nothing -> STFAR -- pseudo instruction: 32 bit offsets
@@ -588,7 +587,6 @@ mkLoadInstr config reg delta slot
ArchPPC -> II32
_ -> II64
RcFloatOrVector -> FF64
- _ -> panic "PPC.Instr.mkLoadInstr: no match"
instr = case makeImmediate W32 True (off-delta) of
Just _ -> LD
Nothing -> LDFAR -- pseudo instruction: 32 bit offsets
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/fbd321e81cf7876ebb3ea50d5136fb71b9125932
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/fbd321e81cf7876ebb3ea50d5136fb71b9125932
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/20240609/7ff7e8a3/attachment-0001.html>
More information about the ghc-commits
mailing list