[all-commits] [llvm/llvm-project] b86f1a: [clang] Remove profile available check for fsplit-...
Snehasish Kumar via All-commits
all-commits at lists.llvm.org
Fri Sep 18 15:20:46 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: b86f1af423952d9f1dbe105b651b948ce0e1e8d0
https://github.com/llvm/llvm-project/commit/b86f1af423952d9f1dbe105b651b948ce0e1e8d0
Author: Snehasish Kumar <snehasishk at google.com>
Date: 2020-09-18 (Fri, 18 Sep 2020)
Changed paths:
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/Driver/fsplit-machine-functions.c
Log Message:
-----------
[clang] Remove profile available check for fsplit-machine-functions.
Enforcing a profile available check in the driver does not work with
incremental LTO builds where the LTO backend invocation does not include
the profile flags. At this point the profiles have already been consumed
and the IR contains profile metadata. Instead we always pass through the
-fsplit-machine-functions flag on user request. The pass itself contains
a check to return early if no profile information is available.
Differential Revision: https://reviews.llvm.org/D87943
More information about the All-commits
mailing list