This is an archive of the discontinued LLVM Phabricator instance.

[SLPVectorizer] Provide InstructionsState down the BoUpSLP vectorization call tree.
ClosedPublic

Authored by RKSimon on Jun 20 2018, 10:59 AM.

Details

Summary

As described in D48359, this patch pushes InstructionsState down the BoUpSLP call hierarchy instead of the corresponding raw OpValue. This makes it easier to track the alternate opcode etc. and avoids us having to call getAltOpcode which makes it difficult to support more than one alternate opcode.

Diff Detail

Repository
rL LLVM

Event Timeline

RKSimon created this revision.Jun 20 2018, 10:59 AM
This revision is now accepted and ready to land.Jun 20 2018, 11:11 AM
This revision was automatically updated to reflect the committed changes.