diff options
author | Teresa Johnson <tejohnson@google.com> | 2018-07-23 21:58:19 +0000 |
---|---|---|
committer | Teresa Johnson <tejohnson@google.com> | 2018-07-23 21:58:19 +0000 |
commit | e214fdeb69244a3e0c77343d791e761694f2c3b0 (patch) | |
tree | e5dd01f71b38bd88f95a6bcbbbf4692950e04170 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | |
parent | 5a16f861e9cbb2e79012d7a6228ea8e68bec3f26 (diff) | |
download | bcm5719-llvm-e214fdeb69244a3e0c77343d791e761694f2c3b0.tar.gz bcm5719-llvm-e214fdeb69244a3e0c77343d791e761694f2c3b0.zip |
[ThinLTO] Ensure the TargetLibraryInfo is constructed early enough
Summary:
Without this change, the WholeProgramDevirt pass, which requires the
TargetLibraryInfo, will construct one from the default triple.
Fixes PR38139.
Reviewers: pcc
Subscribers: mehdi_amini, inglorion, steven_wu, dexonsmith, llvm-commits
Differential Revision: https://reviews.llvm.org/D49278
llvm-svn: 337750
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
0 files changed, 0 insertions, 0 deletions