This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Fix crash when costing scalable gather/scatter of pointer
ClosedPublic

Authored by reames on Jun 20 2022, 12:11 PM.

Details

Summary

This was a bug introduced in d764aa. A pointer type is not a primitive type, and thus we were ending up dividing by zero when computing VLMax.

Diff Detail

Event Timeline

reames created this revision.Jun 20 2022, 12:11 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 20 2022, 12:11 PM
reames requested review of this revision.Jun 20 2022, 12:11 PM
This revision is now accepted and ready to land.Jun 20 2022, 12:32 PM
This revision was landed with ongoing or failed builds.Jun 20 2022, 12:51 PM
This revision was automatically updated to reflect the committed changes.