diff options
author | Huihui Zhang <huihuiz@quicinc.com> | 2020-03-12 13:15:34 -0700 |
---|---|---|
committer | Huihui Zhang <huihuiz@quicinc.com> | 2020-03-12 13:22:41 -0700 |
commit | 118abf20173899e9e1667db1a9c850dc5570b6ae (patch) | |
tree | dba40cf35b91a20a47755929161a1021642889e4 /llvm/lib/Analysis/LoopAnalysisManager.cpp | |
parent | e91feeed21ee16abdb73f6e8cd471a253136e2cf (diff) | |
download | llvm-118abf20173899e9e1667db1a9c850dc5570b6ae.zip llvm-118abf20173899e9e1667db1a9c850dc5570b6ae.tar.gz llvm-118abf20173899e9e1667db1a9c850dc5570b6ae.tar.bz2 |
[SVE] Update API ConstantVector::getSplat() to use ElementCount.
Summary:
Support ConstantInt::get() and Constant::getAllOnesValue() for scalable
vector type, this requires ConstantVector::getSplat() to take in 'ElementCount',
instead of 'unsigned' number of element count.
This change is needed for D73753.
Reviewers: sdesmalen, efriedma, apazos, spatel, huntergr, willlovett
Reviewed By: efriedma
Subscribers: tschuett, hiraditya, rkruppe, psnobl, cfe-commits, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D74386
Diffstat (limited to 'llvm/lib/Analysis/LoopAnalysisManager.cpp')
0 files changed, 0 insertions, 0 deletions