Without this change, the WholeProgramDevirt pass, which requires the
TargetLibraryInfo, will construct one from the default triple.
Fixes PR38139.
Paths
| Differential D49278
[ThinLTO] Ensure the TargetLibraryInfo is constructed early enough ClosedPublic Authored by tejohnson on Jul 12 2018, 6:36 PM.
Details Summary Without this change, the WholeProgramDevirt pass, which requires the Fixes PR38139.
Diff Detail
Event TimelineHerald added subscribers: dexonsmith, steven_wu, inglorion, mehdi_amini. · View Herald TranscriptJul 12 2018, 6:36 PM This revision is now accepted and ready to land.Jul 23 2018, 9:43 AM Closed by commit rL337750: [ThinLTO] Ensure the TargetLibraryInfo is constructed early enough (authored by tejohnson). · Explain WhyJul 23 2018, 2:58 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 156888 llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp
llvm/trunk/test/LTO/X86/triple-init.ll
llvm/trunk/test/LTO/X86/triple-init2.ll
|