added support for casting bools in llvm.cpp