Boostrsap: check nils in llvm typer