Skip to content

Commit

Permalink
[SVE] Remove calls to isScalable from Hexagon
Browse files Browse the repository at this point in the history
Reviewers: efriedma, sdesmalen, kparzysz, colinl

Reviewed By: kparzysz

Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D77757
  • Loading branch information
christetreault-llvm committed Apr 23, 2020
1 parent 5a159ed commit 18c611e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp
Expand Up @@ -45,7 +45,7 @@ bool HexagonTTIImpl::useHVX() const {

bool HexagonTTIImpl::isTypeForHVX(Type *VecTy) const {
assert(VecTy->isVectorTy());
if (cast<VectorType>(VecTy)->isScalable())
if (isa<ScalableVectorType>(VecTy))
return false;
// Avoid types like <2 x i32*>.
if (!cast<VectorType>(VecTy)->getElementType()->isIntegerTy())
Expand Down

0 comments on commit 18c611e

Please sign in to comment.