[PATCH] D77596: [SveEmitter] Add NoOverload flag and builtin for svpfalse
Eli Friedman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 6 16:55:17 PDT 2020
efriedma added a comment.
Would it make sense to generalize getSVEType() to getSVETypeList()? It seems like the current approach won't generalize well once you're dealing with more than one overloaded type (for example, llvm.aarch64.sve.scvtf.nxv8f16.nxv8i16).
================
Comment at: clang/lib/CodeGen/CGBuiltin.cpp:7665
+ if (auto PredTy = dyn_cast<llvm::VectorType>(Call->getType()))
+ if (PredTy->getScalarType()->isIntegerTy(1))
+ Call = EmitSVEPredicateCast(Call, cast<llvm::VectorType>(Ty));
----------------
getElementType().
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77596/new/
https://reviews.llvm.org/D77596
More information about the cfe-commits
mailing list