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

Authored by ABataev on Fri, Jan 5, 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.

Diff Detail

Repository
rL LLVM
ABataev created this revision.Fri, Jan 5, 8:43 AM
RKSimon accepted this revision.Sun, Jan 7, 2:50 AM

LGTM

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