khchen accepted this revision. khchen added a comment. This revision is now accepted and ready to land.
Thanks Kito. This all LGTM except some warnings need to fix. ================ Comment at: clang/lib/Support/RISCVVIntrinsicUtils.cpp:384 + return PD; // Handle primitive type transformer + auto PType = PrototypeDescriptorStr.back(); ---------------- so we also need to update this comment as base type transformer? ================ Comment at: clang/lib/Support/RISCVVIntrinsicUtils.cpp:718 + default: + llvm_unreachable("Illegal vector type modifier!"); + } ---------------- Don’t use default labels in fully covered switches over enumerations please remove default in `RISCVVIntrinsicUtils.cpp:624`, `RISCVVIntrinsicUtils.cpp:717` and `RISCVVIntrinsicUtils.cpp:793`. ================ Comment at: clang/lib/Support/RISCVVIntrinsicUtils.cpp:962 + } + return std::move(PrototypeDescriptors); +} ---------------- ``` clang/lib/Support/RISCVVIntrinsicUtils.cpp:962:10: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(PrototypeDescriptors); ^ clang/lib/Support/RISCVVIntrinsicUtils.cpp:962:10: note: remove std::move call here return std::move(PrototypeDescriptors); ``` Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D124730/new/ https://reviews.llvm.org/D124730 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits