[PATCH] D82582: [SVE] Remove calls to VectorType::getNumElements from clang

Cullen Rhodes via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 23 01:28:38 PDT 2020


c-rhodes 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;
----------------
Is there a reason you can't do a single cast here?


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