With opaque pointers, all function pointer types are the same, meaning there should be no bitcasts.
Internal benchmarks with SampleFDO look neutral.
This was added in D36333.
Paths
| Differential D146099
[Pipeline] Remove early InstCombine in ThinLTO post link sample profile pipeline ClosedPublic Authored by aeubanks on Mar 14 2023, 3:10 PM.
Details Summary With opaque pointers, all function pointer types are the same, meaning there should be no bitcasts. Internal benchmarks with SampleFDO look neutral. This was added in D36333.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 14 2023, 5:07 PM Closed by commit rG20ed9cebb605: [Pipeline] Remove early InstCombine in ThinLTO post link sample profile pipeline (authored by aeubanks). · Explain WhyMar 14 2023, 7:50 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 505352 llvm/lib/Passes/PassBuilderPipelines.cpp
llvm/test/Other/new-pm-pgo.ll
llvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
llvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll
|
@davidxl is this comment still needed?