summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/thinlto_backend.c
Commit message (Collapse)AuthorAgeFilesLines
* CodeGen: Replace test/CodeGen/thinlto_backend.c with a functional test.Peter Collingbourne2016-06-221-14/+0
| | | | | | | | | | | This new test tests that functions are capable of being imported, rather than that the import pass is run. This new test is compatible with the approach being developed in D20268 which runs the importer on its own rather than in a pass. Differential Revision: http://reviews.llvm.org/D21542 llvm-svn: 273347
* Remove target specifier from new testsTeresa Johnson2015-12-071-4/+4
| | | | | | | | | Hopefully fix the remaining bot failure from r254927. Remove target specification since it shouldn't be needed, and this causes an error when trying to check the pass execution structure in test/CodeGen/thinlto_backend.c on non-x86 arches. llvm-svn: 254940
* Adjust test to fix bot error from r254927.Teresa Johnson2015-12-071-1/+1
| | | | | | Remove the part of the error message that may vary across systems. llvm-svn: 254938
* [ThinLTO] Option to invoke ThinLTO backend passes and importingTeresa Johnson2015-12-071-0/+14
Summary: Adds new option -fthinlto-index=<file> to invoke the LTO pipeline along with function importing via clang using the supplied function summary index file. This supports invoking the parallel ThinLTO backend processes in a distributed build environment via clang. Additionally, this causes the module linker to be invoked on the bitcode file being compiled to perform any necessary promotion and renaming of locals that are exported via the function summary index file. Add a couple tests that confirm we get expected errors when we try to use the new option on a file that isn't bitcode, or specify an invalid index file. The tests also confirm that we trigger the expected function import pass. Depends on D15024 Reviewers: joker.eph, dexonsmith Subscribers: joker.eph, davidxl, cfe-commits Differential Revision: http://reviews.llvm.org/D15025 llvm-svn: 254927
OpenPOWER on IntegriCloud