This is an archive of the discontinued LLVM Phabricator instance.

[SLP]Fix compiler crash when calculating extract cost for undefs.
ClosedPublic

Authored by ABataev on Dec 6 2021, 8:34 AM.

Details

Summary

Need to add an extra check for potential undef values in
computeExtractCost function to avoid compiler crash on casting to
instructon.

Diff Detail

Event Timeline

ABataev created this revision.Dec 6 2021, 8:34 AM
ABataev requested review of this revision.Dec 6 2021, 8:34 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 6 2021, 8:34 AM
RKSimon accepted this revision.Dec 6 2021, 9:31 AM

LGTM

This revision is now accepted and ready to land.Dec 6 2021, 9:31 AM
This revision was landed with ongoing or failed builds.Dec 6 2021, 10:46 AM
This revision was automatically updated to reflect the committed changes.