[all-commits] [llvm/llvm-project] 8fe044: [RISCV] Fix required features checking with empty ...
Jim Lin via All-commits
all-commits at lists.llvm.org
Fri Jul 14 01:14:12 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8fe0449ac99087c74f785ddbdd4fbba65b396b3b
https://github.com/llvm/llvm-project/commit/8fe0449ac99087c74f785ddbdd4fbba65b396b3b
Author: Jim Lin <jim at andestech.com>
Date: 2023-07-14 (Fri, 14 Jul 2023)
Changed paths:
M clang/lib/Sema/SemaChecking.cpp
Log Message:
-----------
[RISCV] Fix required features checking with empty string
In our downstream, we define some intrinsics that don't require any
extra extension enabled. Such as
TARGET_BUILTIN(__builtin_riscv_xxx, "LiLi", "nc", "")
But `split` function's `KeepEmpty` argument is True. Got the error message
error: builtin requires at least one of the following extensions support to be enabled : ''
when we use our customized intrinsic.
Reviewed By: craig.topper, wangpc
Differential Revision: https://reviews.llvm.org/D154596
More information about the All-commits
mailing list