This is an archive of the discontinued LLVM Phabricator instance.

[SLP] Fix PR35777: Incorrect handling of aggregate values.
ClosedPublic

Authored by ABataev on Jan 5 2018, 8:43 AM.

Details

Summary

Fixes the bug with incorrect handling of InsertValue|InsertElement
instrucions in SLP vectorizer. Currently, we may use incorrect
ExtractElement instructions as the operands of the original
InsertValue|InsertElement instructions.

Event Timeline

ABataev created this revision.Jan 5 2018, 8:43 AM
RKSimon accepted this revision.Jan 7 2018, 2:50 AM

LGTM

This revision is now accepted and ready to land.Jan 7 2018, 2:50 AM
This revision was automatically updated to reflect the committed changes.