ghc-9.0.2: 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 :: CmmBlock -> NatBasicBlock Instr -> NatBasicBlock Instr Source #

Enforce intra-block invariants.