This is an archive of the discontinued LLVM Phabricator instance.

[InstCombine] Don't look through bitcast from vector in collectInsertionElements.
ClosedPublic

Authored by craig.topper on Apr 19 2022, 10:28 AM.

Details

Summary

We're making a recursive call here and everything in the function
assumes we're looking at scalars. This would be violated if we
looked through a bitcast from vectors.

Diff Detail

Event Timeline

craig.topper created this revision.Apr 19 2022, 10:28 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 19 2022, 10:28 AM
craig.topper requested review of this revision.Apr 19 2022, 10:28 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 19 2022, 10:28 AM

Remove FIXME from test case.

Harbormaster completed remote builds in B160268: Diff 423665.
spatel accepted this revision.Apr 20 2022, 8:57 AM

LGTM

This revision is now accepted and ready to land.Apr 20 2022, 8:57 AM
This revision was landed with ongoing or failed builds.Apr 20 2022, 9:15 AM
This revision was automatically updated to reflect the committed changes.