This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGb166aa833e44: [RISCV][NFC] Change interface of
RVVIntrinsic::getSuffixStr (authored by kito-cheng).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125893/new/
https://reviews.llvm.org/D125893
Files:
clang/include/clang/Support/RISCVVIntrinsicUtils.h
clang/lib/Support/RISCVVIntrinsicUtils.cpp
Index: clang/lib/Support/RISCVVIntrinsicUtils.cpp
===================================================================
--- clang/lib/Support/RISCVVIntrinsicUtils.cpp
+++ clang/lib/Support/RISCVVIntrinsicUtils.cpp
@@ -922,7 +922,7 @@
std::string RVVIntrinsic::getSuffixStr(
BasicType Type, int Log2LMUL,
- const llvm::SmallVector<PrototypeDescriptor> &PrototypeDescriptors) {
+ llvm::ArrayRef<PrototypeDescriptor> PrototypeDescriptors) {
SmallVector<std::string> SuffixStrs;
for (auto PD : PrototypeDescriptors) {
auto T = RVVType::computeType(Type, Log2LMUL, PD);
Index: clang/include/clang/Support/RISCVVIntrinsicUtils.h
===================================================================
--- clang/include/clang/Support/RISCVVIntrinsicUtils.h
+++ clang/include/clang/Support/RISCVVIntrinsicUtils.h
@@ -340,9 +340,9 @@
// Return the type string for a BUILTIN() macro in Builtins.def.
std::string getBuiltinTypeStr() const;
- static std::string getSuffixStr(
- BasicType Type, int Log2LMUL,
- const llvm::SmallVector<PrototypeDescriptor> &PrototypeDescriptors);
+ static std::string
+ getSuffixStr(BasicType Type, int Log2LMUL,
+ llvm::ArrayRef<PrototypeDescriptor> PrototypeDescriptors);
};
} // end namespace RISCV
Index: clang/lib/Support/RISCVVIntrinsicUtils.cpp
===================================================================
--- clang/lib/Support/RISCVVIntrinsicUtils.cpp
+++ clang/lib/Support/RISCVVIntrinsicUtils.cpp
@@ -922,7 +922,7 @@
std::string RVVIntrinsic::getSuffixStr(
BasicType Type, int Log2LMUL,
- const llvm::SmallVector<PrototypeDescriptor> &PrototypeDescriptors) {
+ llvm::ArrayRef<PrototypeDescriptor> PrototypeDescriptors) {
SmallVector<std::string> SuffixStrs;
for (auto PD : PrototypeDescriptors) {
auto T = RVVType::computeType(Type, Log2LMUL, PD);
Index: clang/include/clang/Support/RISCVVIntrinsicUtils.h
===================================================================
--- clang/include/clang/Support/RISCVVIntrinsicUtils.h
+++ clang/include/clang/Support/RISCVVIntrinsicUtils.h
@@ -340,9 +340,9 @@
// Return the type string for a BUILTIN() macro in Builtins.def.
std::string getBuiltinTypeStr() const;
- static std::string getSuffixStr(
- BasicType Type, int Log2LMUL,
- const llvm::SmallVector<PrototypeDescriptor> &PrototypeDescriptors);
+ static std::string
+ getSuffixStr(BasicType Type, int Log2LMUL,
+ llvm::ArrayRef<PrototypeDescriptor> PrototypeDescriptors);
};
} // end namespace RISCV
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits