This is an archive of the discontinued LLVM Phabricator instance.

[SLPVectorizer] Support alternate opcodes in tryToVectorizeList
ClosedPublic

Authored by RKSimon on Jun 22 2018, 8:09 AM.

Details

Summary

Enable tryToVectorizeList to support InstructionsState alternate opcode patterns at a root (build vector etc.) as well as further down the vectorization tree.

This patch currently reduces some of the debug reporting if there are opcode mismatches - is this something I need to address? It could get rather messy trying to provide equivalent verbose debug strings via getSameOpcode etc.

Diff Detail

Repository
rL LLVM

Event Timeline

RKSimon created this revision.Jun 22 2018, 8:09 AM
This revision is now accepted and ready to land.Jun 22 2018, 8:35 AM
This revision was automatically updated to reflect the committed changes.