This is an archive of the discontinued LLVM Phabricator instance.

[SLPVectorizer] Begin abstracting InstructionsState alternate matching away from opcodes. NFCI.
ClosedPublic

Authored by RKSimon on Jul 4 2018, 10:17 AM.

Details

Summary

This is an early step towards matching Instructions by attributes other than the opcode. This will be necessary for cast/call alternates which share the same opcode but have different types/intrinsicIDs etc. - which we could vectorize as long as we split them using the alternate mechanism.

Diff Detail

Repository
rL LLVM

Event Timeline

RKSimon created this revision.Jul 4 2018, 10:17 AM

Looks good for me.

This revision was not accepted when it landed; it landed in state Needs Review.Jul 5 2018, 5:35 AM
This revision was automatically updated to reflect the committed changes.