This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC][AIX] Allow VSX patterns to be 32-bit and 64-bit safe on P8+.
ClosedPublic

Authored by amyk on May 11 2022, 7:33 AM.

Details

Summary

This patch updates two patterns involving scalar_to_vector and
SCALAR_TO_VECTOR_PERMUTED nodes to be safe for both 64-bit and 32-bit by
pulling the patterns out of the 64-bit specific guard.

These patterns are matched on POWER8 and above.

Diff Detail

Event Timeline

amyk created this revision.May 11 2022, 7:33 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 11 2022, 7:33 AM
amyk requested review of this revision.May 11 2022, 7:33 AM
lei accepted this revision as: lei.May 25 2022, 12:28 PM
lei added a subscriber: lei.

LGTM
Thx for fixing this.

This revision is now accepted and ready to land.May 25 2022, 12:28 PM
This revision was landed with ongoing or failed builds.May 27 2022, 8:34 AM
This revision was automatically updated to reflect the committed changes.