diff options
author | Christopher Tetreault <ctetreau@quicinc.com> | 2020-04-23 12:19:54 -0700 |
---|---|---|
committer | Christopher Tetreault <ctetreau@quicinc.com> | 2020-04-23 12:44:22 -0700 |
commit | 9174e0229fcbe32967addda74a7beb7bb43cf17c (patch) | |
tree | 08420b777f3a97ed48bfbf61ec57c6cf6789e2e1 /llvm/lib/Analysis/ValueTracking.cpp | |
parent | 156afb2253eabf0e2d446dafd08e754d7b9f513a (diff) | |
download | llvm-9174e0229fcbe32967addda74a7beb7bb43cf17c.zip llvm-9174e0229fcbe32967addda74a7beb7bb43cf17c.tar.gz llvm-9174e0229fcbe32967addda74a7beb7bb43cf17c.tar.bz2 |
[SVE] Remove calls to VectorType::isScalable from analysis
Reviewers: efriedma, sdesmalen, chandlerc, sunfish
Reviewed By: efriedma
Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D77692
Diffstat (limited to 'llvm/lib/Analysis/ValueTracking.cpp')
-rw-r--r-- | llvm/lib/Analysis/ValueTracking.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/ValueTracking.cpp b/llvm/lib/Analysis/ValueTracking.cpp index 5ef5abc..0e95641 100644 --- a/llvm/lib/Analysis/ValueTracking.cpp +++ b/llvm/lib/Analysis/ValueTracking.cpp @@ -168,7 +168,7 @@ static bool getShuffleDemandedElts(const ShuffleVectorInst *Shuf, APInt &DemandedLHS, APInt &DemandedRHS) { // The length of scalable vectors is unknown at compile time, thus we // cannot check their values - if (Shuf->getType()->isScalable()) + if (isa<ScalableVectorType>(Shuf->getType())) return false; int NumElts = |