[clang] [RISCV][clang] Optimize memory usage of intrinsic lookup table (PR #77487)
Craig Topper via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 15 00:04:49 PST 2024
================
@@ -463,7 +464,7 @@ void RISCVIntrinsicManagerImpl::CreateRVVIntrinsicDecl(LookupResult &LR,
bool RISCVIntrinsicManagerImpl::CreateIntrinsicIfFound(LookupResult &LR,
IdentifierInfo *II,
Preprocessor &PP) {
- StringRef Name = II->getName();
+ StringRef Name = II->getName().substr(8);
----------------
topperc wrote:
Will this cause something like `XXXXXXX_vadd_vv` to be recognized as a valid RISC-V intrinsic name?
https://github.com/llvm/llvm-project/pull/77487
More information about the cfe-commits
mailing list