Andreas Klebinger pushed to branch wip/andreask/arm-ffi at Glasgow Haskell Compiler / GHC Commits: 3812c462 by Andreas Klebinger at 2026-07-13T11:33:47+02:00 ppr trace - - - - - 1 changed file: - compiler/GHC/CmmToAsm/AArch64/CodeGen.hs Changes: ===================================== compiler/GHC/CmmToAsm/AArch64/CodeGen.hs ===================================== @@ -366,7 +366,10 @@ registerFormat reg = case reg of { Fixed format _ _ -> format; Any format _ -> f swizzleRegisterRep :: Width -> Format -> Register -> Register swizzleRegisterRep old_width format reg - | assert (reg_width == old_width) False + -- APK: Currently this assertion doesn't always hold. + -- This seems problematic but will have to be fixed another time. + | (reg_width /= old_width) + , pprTrace "Missmatched widths" (ppr (old_width, format, reg)) False = undefined | old_width == formatToWidth format = View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/3812c462ac14064539180197e267fa06... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/3812c462ac14064539180197e267fa06... You're receiving this email because of your account on gitlab.haskell.org. Manage all notifications: https://gitlab.haskell.org/-/profile/notifications | Help: https://gitlab.haskell.org/help
participants (1)
-
Andreas Klebinger (@AndreasK)