[clang] [Clang][SVE2p1]Add svboolx2 and svboolx4 types for svcreate, svget, s… (PR #74594)

Kerry McLaughlin via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 8 02:43:30 PST 2023


================
@@ -167,3 +167,23 @@ void test_svpmov_lane(){
   zn_u32 = svpmov_lane_u32_m(zn_u32, pn, 5); // expected-error {{argument value 5 is outside the valid range [1, 3]}}
   zn_u64 = svpmov_lane_u64_m(zn_u64, pn, 8); // expected-error {{argument value 8 is outside the valid range [1, 7]}}
 }
+
+__attribute__((target("+sve2p1")))
+void test_svget_b(uint64_t idx, svboolx2_t tuple2, svboolx4_t tuple4){
+  svbool_t res;
----------------
kmclaughlin-arm wrote:

nit: can this be added to the list of args for `test_svget_b`, along with idx & tuple2/4?

https://github.com/llvm/llvm-project/pull/74594


More information about the cfe-commits mailing list