tejohnson abandoned this revision.
tejohnson added a comment.
Subsumed by https://reviews.llvm.org/D31534
https://reviews.llvm.org/D31101
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-comm
tejohnson updated this revision to Diff 93535.
tejohnson added a comment.
Use LTO to emit LLVM IR
https://reviews.llvm.org/D31101
Files:
lib/CodeGen/BackendUtil.cpp
test/CodeGen/thinlto-emit-llvm.c
Index: test/CodeGen/thinlto-emit-llvm.c
===
tejohnson added inline comments.
Comment at: lib/CodeGen/BackendUtil.cpp:1007
else
AsmHelper.EmitAssembly(Action, std::move(OS));
tejohnson wrote:
> I just noticed that EmitAssembly does a lot more than just emission - it is
> also setting up an optimi
tejohnson added inline comments.
Comment at: lib/CodeGen/BackendUtil.cpp:1007
else
AsmHelper.EmitAssembly(Action, std::move(OS));
I just noticed that EmitAssembly does a lot more than just emission - it is
also setting up an optimization pipeline in Cr
tejohnson updated this revision to Diff 92324.
tejohnson added a comment.
As discussed in the review threads for https://reviews.llvm.org/D31114 and
https://reviews.llvm.org/D31100, only fall
back to clang's output file emission for -emit-llvm and -emit-llvm-bc.
https://reviews.llvm.org/D31101
tejohnson created this revision.
Herald added subscribers: Prazek, mehdi_amini.
We noticed that when invoking the thinBackend via clang (for the
distributed build case) that flags like -ffunction-sections and
-emit-llvm were not having the intended effect. This could have been
fixed by setting up