This is an archive of the discontinued LLVM Phabricator instance.

[CSSPGO] Unblock optimizations with pseudo probe instrumentation part 2.
ClosedPublic

Authored by hoy on Apr 7 2021, 4:12 PM.

Details

Summary

As a follow-up to D95982, this patch continues unblocking optimizations that are blocked by pseudu probe instrumention.

The optimizations unblocked are:

  • In-block load propagation.
  • In-block dead store elimination
  • Memory copy optimization that turns stores to consecutive memories into a memset.

These optimizations are local to a block, so they shouldn't affect the profile quality.

Diff Detail

Event Timeline

hoy created this revision.Apr 7 2021, 4:12 PM
hoy requested review of this revision.Apr 7 2021, 4:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 7 2021, 4:12 PM
hoy updated this revision to Diff 335945.Apr 7 2021, 4:16 PM

Updating D100075: [CSSPGO] Unblock optimizations with pseudo probe instrumentation part 2.

hoy updated this revision to Diff 336489.Apr 9 2021, 9:18 AM

Rebasing.

hoy updated this revision to Diff 340552.Apr 26 2021, 9:13 AM

Rebasing.

wmi accepted this revision.Apr 26 2021, 3:58 PM

LGTM.

This revision is now accepted and ready to land.Apr 26 2021, 3:58 PM
This revision was landed with ongoing or failed builds.Apr 26 2021, 4:52 PM
This revision was automatically updated to reflect the committed changes.