diff options
author | Bradley Smith <bradley.smith@arm.com> | 2022-06-16 14:45:28 +0000 |
---|---|---|
committer | Bradley Smith <bradley.smith@arm.com> | 2022-06-27 10:48:45 +0000 |
commit | a83aa33d1bf9e8fe4858391f95a27ffd022e465b (patch) | |
tree | 57e81643a96c35fc06025c7c8e946fb98aad876a /clang/lib/CodeGen/CGCall.cpp | |
parent | 0b998053db7c75c0427860d3947386013d2762ed (diff) | |
download | llvm-a83aa33d1bf9e8fe4858391f95a27ffd022e465b.zip llvm-a83aa33d1bf9e8fe4858391f95a27ffd022e465b.tar.gz llvm-a83aa33d1bf9e8fe4858391f95a27ffd022e465b.tar.bz2 |
[IR] Move vector.insert/vector.extract out of experimental namespace
These intrinsics are now fundemental for SVE code generation and have been
present for a year and a half, hence move them out of the experimental
namespace.
Differential Revision: https://reviews.llvm.org/D127976
Diffstat (limited to 'clang/lib/CodeGen/CGCall.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGCall.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CGCall.cpp b/clang/lib/CodeGen/CGCall.cpp index 735861c..4e26c35 100644 --- a/clang/lib/CodeGen/CGCall.cpp +++ b/clang/lib/CodeGen/CGCall.cpp @@ -1285,8 +1285,8 @@ static llvm::Value *CreateCoercedLoad(Address Src, llvm::Type *Ty, } // If coercing a fixed vector to a scalable vector for ABI compatibility, and - // the types match, use the llvm.experimental.vector.insert intrinsic to - // perform the conversion. + // the types match, use the llvm.vector.insert intrinsic to perform the + // conversion. if (auto *ScalableDst = dyn_cast<llvm::ScalableVectorType>(Ty)) { if (auto *FixedSrc = dyn_cast<llvm::FixedVectorType>(SrcTy)) { // If we are casting a fixed i8 vector to a scalable 16 x i1 predicate @@ -2930,8 +2930,7 @@ void CodeGenFunction::EmitFunctionProlog(const CGFunctionInfo &FI, // VLST arguments are coerced to VLATs at the function boundary for // ABI consistency. If this is a VLST that was coerced to // a VLAT at the function boundary and the types match up, use - // llvm.experimental.vector.extract to convert back to the original - // VLST. + // llvm.vector.extract to convert back to the original VLST. if (auto *VecTyTo = dyn_cast<llvm::FixedVectorType>(ConvertType(Ty))) { llvm::Value *Coerced = Fn->getArg(FirstIRArg); if (auto *VecTyFrom = |