This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Fix crash in LowerBUILD_VECTOR trying to create invalid EXTRACT_SUBVECTOR.
ClosedPublic

Authored by aemerson on Mar 2 2023, 1:55 PM.

Details

Summary

This fixes and assertion and miscompile due to falling through to the code that tries to use EXTRACT_SUBVECTOR, even when we bailed out due to having a non-constant extract operand.

rdar://106096671

Diff Detail

Event Timeline

aemerson created this revision.Mar 2 2023, 1:55 PM
aemerson requested review of this revision.Mar 2 2023, 1:55 PM
dmgreen accepted this revision.Mar 2 2023, 2:02 PM

Sounds good to me.

This revision is now accepted and ready to land.Mar 2 2023, 2:02 PM
This revision was landed with ongoing or failed builds.Mar 2 2023, 2:10 PM
This revision was automatically updated to reflect the committed changes.