[PATCH] D80329: [SVE] Eliminate calls to default-false VectorType::get() from SystemZ
Christopher Tetreault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 28 13:14:00 PDT 2020
ctetreau updated this revision to Diff 267010.
ctetreau added a comment.
rebase
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80329/new/
https://reviews.llvm.org/D80329
Files:
llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
Index: llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
===================================================================
--- llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
+++ llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
@@ -663,7 +663,7 @@
// Return the potentially vectorized type based on 'I' and 'VF'. 'I' may
// be either scalar or already vectorized with a same or lesser VF.
Type *ElTy = OpTy->getScalarType();
- return VectorType::get(ElTy, VF);
+ return FixedVectorType::get(ElTy, VF);
}
return nullptr;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80329.267010.patch
Type: text/x-patch
Size: 570 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200528/c1c08983/attachment.bin>
More information about the llvm-commits
mailing list