diff options
author | Dehao Chen <dehao@google.com> | 2017-01-13 00:51:55 +0000 |
---|---|---|
committer | Dehao Chen <dehao@google.com> | 2017-01-13 00:51:55 +0000 |
commit | a1bd2d658570734c0111d774e3ad4580913f2ea3 (patch) | |
tree | 520a2e7c3aee59e196bf99d8aad4b2cf601becf8 /llvm/lib/CodeGen/MachineFunctionPass.cpp | |
parent | b570195c3a76bc60deb562023fc1865368c234fb (diff) | |
download | llvm-a1bd2d658570734c0111d774e3ad4580913f2ea3.zip llvm-a1bd2d658570734c0111d774e3ad4580913f2ea3.tar.gz llvm-a1bd2d658570734c0111d774e3ad4580913f2ea3.tar.bz2 |
Pass -fprofile-sample-use to lto backends.
Summary: LTO backend will not invoke SampleProfileLoader pass even if -fprofile-sample-use is specified. This patch passes the flag down so that pass manager can add the SampleProfileLoader pass correctly.
Reviewers: mehdi_amini, tejohnson
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D28588
llvm-svn: 291870
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionPass.cpp')
0 files changed, 0 insertions, 0 deletions