[PATCH] D82582: [SVE] Remove calls to VectorType::getNumElements from clang
Christopher Tetreault via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 23 08:16:42 PDT 2020
ctetreau marked an inline comment as done.
ctetreau added inline comments.
================
Comment at: clang/lib/CodeGen/CGBuiltin.cpp:5612-5613
llvm::VectorType *VTy = GetNeonType(this, Type, HasLegalHalfType, false,
AllowBFloatArgsAndRet);
llvm::Type *Ty = VTy;
----------------
c-rhodes wrote:
> Is there a reason you can't do a single cast here?
GetNeonType should probably just return a FixedVectorType.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82582/new/
https://reviews.llvm.org/D82582
More information about the cfe-commits
mailing list