ghc-9.0.1: The GHC API
Safe HaskellNone
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 :: CmmBlock -> NatBasicBlock Instr -> NatBasicBlock Instr Source #

Enforce intra-block invariants.