[PATCH] D80337: [SVE] Eliminate calls to default-false VectorType::get() from Utils
Christopher Tetreault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 28 13:14:06 PDT 2020
ctetreau updated this revision to Diff 267016.
ctetreau added a comment.
rebase
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80337/new/
https://reviews.llvm.org/D80337
Files:
llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
Index: llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
===================================================================
--- llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
+++ llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
@@ -2107,7 +2107,7 @@
// x86_64 can't use {float, float} since that would be returned in both
// xmm0 and xmm1, which isn't what a real struct would do.
ResTy = T.getArch() == Triple::x86_64
- ? static_cast<Type *>(VectorType::get(ArgTy, 2))
+ ? static_cast<Type *>(FixedVectorType::get(ArgTy, 2))
: static_cast<Type *>(StructType::get(ArgTy, ArgTy));
} else {
Name = "__sincospi_stret";
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80337.267016.patch
Type: text/x-patch
Size: 682 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200528/03bb4b0c/attachment.bin>
More information about the llvm-commits
mailing list