diff options
author | Christopher Tetreault <ctetreau@quicinc.com> | 2020-06-16 15:49:32 -0700 |
---|---|---|
committer | Christopher Tetreault <ctetreau@quicinc.com> | 2020-06-16 16:03:36 -0700 |
commit | 8e204f807b9df3c0a6fd14fcb038a46591b23f0b (patch) | |
tree | e8359fa0f5342f0913fae4775ed29ad8fdcc6d06 /llvm/lib/CodeGen/SafeStackLayout.cpp | |
parent | 73312976ad8c541d2bb769c26f1172ccc26ad531 (diff) | |
download | llvm-8e204f807b9df3c0a6fd14fcb038a46591b23f0b.zip llvm-8e204f807b9df3c0a6fd14fcb038a46591b23f0b.tar.gz llvm-8e204f807b9df3c0a6fd14fcb038a46591b23f0b.tar.bz2 |
[SVE] Generalize size checks in Verifier to use getElementCount
Summary:
Attempts to call getNumElements on scalable vectors identified by test
LLVM.Other::scalable-vectors-core-ir.ll. Since these checks are all
attempting to find if two vectors are the same size, calling
getElementCount will only increase safety.
Reviewers: efriedma, aprantl, reames, kmclaughlin, sdesmalen
Reviewed By: efriedma
Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D81895
Diffstat (limited to 'llvm/lib/CodeGen/SafeStackLayout.cpp')
0 files changed, 0 insertions, 0 deletions