[llvm] 18c611e - [SVE] Remove calls to isScalable from Hexagon
Christopher Tetreault via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 23 14:02:30 PDT 2020
Author: Christopher Tetreault
Date: 2020-04-23T14:02:14-07:00
New Revision: 18c611ed92ba8a140b7cc6692d45cda565f07159
URL: https://github.com/llvm/llvm-project/commit/18c611ed92ba8a140b7cc6692d45cda565f07159
DIFF: https://github.com/llvm/llvm-project/commit/18c611ed92ba8a140b7cc6692d45cda565f07159.diff
LOG: [SVE] Remove calls to isScalable from Hexagon
Reviewers: efriedma, sdesmalen, kparzysz, colinl
Reviewed By: kparzysz
Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D77757
Added:
Modified:
llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp b/llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp
index bbc1a743c9cd..71f31cb48f8b 100644
--- a/llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp
+++ b/llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp
@@ -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())
More information about the llvm-commits
mailing list