Added an option to run LLVM optimisation passes.