[PATCH] D126742: [RISCV][Clang] Support RVV policy functions.
luxufan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 12 05:43:43 PDT 2022
StephenFan added inline comments.
Herald added a subscriber: nlopes.
================
Comment at: clang/lib/Sema/SemaRVVLookup.cpp:378-388
+ } else {
+ if (IsPrototypeDefaultTU) {
+ DefaultPolicy = Policy::TU;
+ if (HasPolicy)
+ BuiltinName += "_tu";
+ } else {
+ DefaultPolicy = Policy::TA;
----------------
Reduce indentation.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126742/new/
https://reviews.llvm.org/D126742
More information about the cfe-commits
mailing list