[PATCH] D141573: [1/15][Clang][RISCV][NFC] Extract common utility to RISCVVIntrinsicUtils
Craig Topper via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 17 16:14:06 PST 2023
craig.topper accepted this revision.
craig.topper added a comment.
Herald added a subscriber: luke.
LGTM
================
Comment at: clang/lib/Support/RISCVVIntrinsicUtils.cpp:977
+llvm::SmallVector<Policy> RVVIntrinsic::getSupportedUnMaskedPolicies() {
+ return {
----------------
Possible improvement for a different patch:
Could these policy lists be static const arrays and this function could returned an ArrayRef pointing to the appropriate list instead constructing a SmallVector?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141573/new/
https://reviews.llvm.org/D141573
More information about the cfe-commits
mailing list