This is an archive of the discontinued LLVM Phabricator instance.

[VP] Add test to show optimization opportunities
ClosedPublic

Authored by simoll on Jul 14 2022, 3:00 AM.

Details

Summary

Add vp.add test cases that can are optimized with D92086 to show the potential of generalized pattern rewriting.

Diff Detail

Event Timeline

simoll created this revision.Jul 14 2022, 3:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 14 2022, 3:00 AM
simoll requested review of this revision.Jul 14 2022, 3:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 14 2022, 3:00 AM
simoll added inline comments.Jul 14 2022, 3:02 AM
llvm/test/Transforms/InstSimplify/add_vp.ll
2

Same file with optimizations enabled: https://reviews.llvm.org/D92086#inline-1245969

frasercrmck accepted this revision.Jul 14 2022, 3:04 AM

LGTM, thanks

This revision is now accepted and ready to land.Jul 14 2022, 3:04 AM
This revision was landed with ongoing or failed builds.Jul 14 2022, 3:37 AM
This revision was automatically updated to reflect the committed changes.