[PATCH] D157474: [RISCV] Add missing Xsfvcp extension check in clang sema
Craig Topper via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 9 10:35:13 PDT 2023
craig.topper added inline comments.
================
Comment at: clang/test/Sema/rvv-required-features-invalid.c:16
+void test_sf_vc_x_se_u64m1(uint64_t rs1, size_t vl) { // expected-note {{'test_sf_vc_x_se_u64m1' declared here}}
+ __riscv_sf_vc_x_se_u64m1(1, 1, 1, rs1, vl); // expected-error {{call to undeclared function '__riscv_sf_vc_x_se_u64m1'}} expected-note {{did you mean 'test_sf_vc_x_se_u64m1'?}}
+}
----------------
This doesn't mention the xsfvcp extension. So it doesn't look like the diagnostic in the code is being hit.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D157474/new/
https://reviews.llvm.org/D157474
More information about the cfe-commits
mailing list