diff options
author | Alex Lorenz <arphaman@gmail.com> | 2015-05-19 21:41:28 +0000 |
---|---|---|
committer | Alex Lorenz <arphaman@gmail.com> | 2015-05-19 21:41:28 +0000 |
commit | de1970fe668a345b4dd033a82581b2cf50b0cfe4 (patch) | |
tree | 3fb0d5e4d4e8e0a51f80c6246ff11c8f84b8da75 /llvm/lib/CodeGen/LLVMTargetMachine.cpp | |
parent | bf178d3eb76e4552ce217d9830536fc2f6f53fcb (diff) | |
download | bcm5719-llvm-de1970fe668a345b4dd033a82581b2cf50b0cfe4.tar.gz bcm5719-llvm-de1970fe668a345b4dd033a82581b2cf50b0cfe4.zip |
Revert r237708 (MIR serialization) - incremental buildbots became unstable.
The incremental buildbots entered a pass-fail cycle where during the fail
cycle one of the tests from this commit fails for an unknown reason. I
have reverted this commit and will investigate the cause of this problem.
llvm-svn: 237730
Diffstat (limited to 'llvm/lib/CodeGen/LLVMTargetMachine.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LLVMTargetMachine.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LLVMTargetMachine.cpp b/llvm/lib/CodeGen/LLVMTargetMachine.cpp index ff5205801bc..610c9f47bac 100644 --- a/llvm/lib/CodeGen/LLVMTargetMachine.cpp +++ b/llvm/lib/CodeGen/LLVMTargetMachine.cpp @@ -150,7 +150,12 @@ bool LLVMTargetMachine::addPassesToEmitFile( return true; if (StopAfter) { - PM.add(createPrintMIRPass(outs())); + // FIXME: The intent is that this should eventually write out a YAML file, + // containing the LLVM IR, the machine-level IR (when stopping after a + // machine-level pass), and whatever other information is needed to + // deserialize the code and resume compilation. For now, just write the + // LLVM IR. + PM.add(createPrintModulePass(Out)); return false; } |