ghc-9.2.8: The GHC API
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.CmmToAsm.SPARC.CodeGen.Sanity

Description

One ounce of sanity checking is worth 10000000000000000 ounces of staring blindly at assembly code trying to find the problem..

Synopsis

Documentation

checkBlock :: Platform -> CmmBlock -> NatBasicBlock Instr -> NatBasicBlock Instr Source #

Enforce intra-block invariants.