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.
Paths
| Differential D73394
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 This is not a proper support of scalable vector types in the analysis -
Diff Detail
Event TimelineComment Actions 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. This revision is now accepted and ready to land.Jan 27 2020, 3:03 PM Closed by commit rGc3b80adceef7: Fix StackSafetyAnalysis crash with scalable vector types. (authored by eugenis). · Explain WhyJan 27 2020, 3:23 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 240330 llvm/lib/Analysis/StackSafetyAnalysis.cpp
llvm/test/Analysis/StackSafetyAnalysis/local.ll
|