This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC][NFC] add const-nonsplat-array-init.ll
ClosedPublic

Authored by tingwang on Mar 20 2023, 11:39 PM.

Details

Summary

When doing store constant vector/scalar, some duplicated values can be reused.
Add test case and will show combiner can improve these.

Diff Detail

Event Timeline

tingwang created this revision.Mar 20 2023, 11:39 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 20 2023, 11:39 PM
tingwang requested review of this revision.Mar 20 2023, 11:39 PM
shchenz accepted this revision as: shchenz.Mar 21 2023, 6:30 PM
This revision is now accepted and ready to land.Mar 21 2023, 6:30 PM
This revision was automatically updated to reflect the committed changes.