so can cause obscure errors downstream.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10840
91177308-0d34-0410-b5e6-
96231b3b80d8
//
AddConfiguredTransformationPasses(Passes);
+ // Make sure everything is still good.
+ Passes.add(createVerifierPass());
+
// Write bytecode to file...
Passes.add(new WriteBytecodePass(Out));
addPass(Passes, createGlobalDCEPass());
}
+ // Make sure everything is still good.
+ Passes.add(createVerifierPass());
+
// Add the pass that writes bytecode to the output file...
addPass(Passes, new WriteBytecodePass(Out));