cleaning up llvm.cpp