[all-commits] [llvm/llvm-project] 2af97b: [ThinLTO] Add additional ThinLTO pipeline testing ...
Teresa Johnson via All-commits
all-commits at lists.llvm.org
Mon Jan 13 08:30:12 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 2af97be8027a0823b88d4b6a07fc5eedb440bc1f
https://github.com/llvm/llvm-project/commit/2af97be8027a0823b88d4b6a07fc5eedb440bc1f
Author: Teresa Johnson <tejohnson at google.com>
Date: 2020-01-13 (Mon, 13 Jan 2020)
Changed paths:
A clang/test/CodeGen/thinlto-distributed-newpm.ll
A llvm/test/Other/Inputs/new-pm-thinlto-prelink-pgo-defaults.proftext
A llvm/test/Other/Inputs/new-pm-thinlto-samplepgo-defaults.prof
M llvm/test/Other/new-pm-pgo.ll
A llvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll
A llvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
A llvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
A llvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll
Log Message:
-----------
[ThinLTO] Add additional ThinLTO pipeline testing with new PM
Summary:
I've added some more extensive ThinLTO pipeline testing with the new PM,
motivated by the bug fixed in D72386.
I beefed up llvm/test/Other/new-pm-pgo.ll a little so that it tests
ThinLTO pre and post link with PGO, similar to the testing for the
default pipelines with PGO.
Added new pre and post link PGO tests for both instrumentation and
sample PGO that exhaustively test the pipelines at different
optimization levels via opt.
Added a clang test to exhaustively test the post link pipeline invoked for
distributed builds. I am currently only testing O2 and O3 since these
are the most important for performance.
It would be nice to add similar exhaustive testing for full LTO, and for
the old PM, but I don't have the bandwidth now and this is a start to
cover some of the situations that are not currently default and were
under tested.
Reviewers: wmi
Subscribers: mehdi_amini, inglorion, hiraditya, steven_wu, dexonsmith, jfb, cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D72538
More information about the All-commits
mailing list