This is an archive of the discontinued LLVM Phabricator instance.

Fix StackSafetyAnalysis crash with scalable vector types.
ClosedPublic

Authored by eugenis on Jan 24 2020, 4:41 PM.

Details

Summary

Treat scalable allocas as if they have storage size of 0, and
scalable-typed memory accesses as if their range is unlimited.

This is not a proper support of scalable vector types in the analysis -
we can do better, but not today.

Diff Detail

Event Timeline

eugenis created this revision.Jan 24 2020, 4:41 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 24 2020, 4:41 PM
Herald added a subscriber: hiraditya. · View Herald Transcript

Unit tests: pass. 62192 tests passed, 0 failed and 815 were skipped.

clang-tidy: pass.

clang-format: pass.

Build artifacts: diff.json, clang-tidy.txt, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml

Pre-merge checks is in beta. Report issue. Please join beta or enable it for your project.

vitalybuka accepted this revision.Jan 27 2020, 3:03 PM
This revision is now accepted and ready to land.Jan 27 2020, 3:03 PM
This revision was automatically updated to reflect the committed changes.