The IL has enough type structure now that is only informally-enforced by trans and x86 that a "full" typechecker would probably be worthwhile.