fixed issue in llvm partition pass