This is an archive of the discontinued LLVM Phabricator instance.

[SVE] Lower scalable vector mul operations.
ClosedPublic

Authored by paulwalker-arm on Aug 5 2020, 10:25 AM.

Details

Summary

This allows us to remove extra patterns from AArch64SVEInstrInfo.td
because we can reuse those required for fixed length vectors.

Diff Detail

Event Timeline

paulwalker-arm created this revision.Aug 5 2020, 10:25 AM
Herald added a reviewer: efriedma. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
paulwalker-arm requested review of this revision.Aug 5 2020, 10:25 AM

This should be a non-function change hence the only test changes related to how mul operands can be in any order. The isConstantIntBuildVectorOrConstantInt change was required to make llvm/test/CodeGen/AArch64/sve-gep.ll produce consistent output.

This revision is now accepted and ready to land.Aug 5 2020, 12:08 PM
This revision was landed with ongoing or failed builds.Aug 6 2020, 3:20 AM
This revision was automatically updated to reflect the committed changes.