[clang] [Clang][RISCV] Add vundefine intrinsics for tuple types (PR #70354)

Yueh-Ting Chen via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 30 00:01:21 PDT 2023


================
@@ -7,534 +7,2189 @@
 
 #include <riscv_vector.h>
 
-// CHECK-RV64-LABEL: define dso_local <vscale x 1 x half> @test_vundefined_f16mf4
-// CHECK-RV64-SAME: () #[[ATTR0:[0-9]+]] {
+// CHECK-RV64-LABEL: define dso_local <vscale x 1 x half> @test_vundefined_f16mf4(
+// CHECK-RV64-SAME: ) #[[ATTR0:[0-9]+]] {
 // CHECK-RV64-NEXT:  entry:
 // CHECK-RV64-NEXT:    ret <vscale x 1 x half> poison
 //
-vfloat16mf4_t test_vundefined_f16mf4() {
-  return __riscv_vundefined_f16mf4();
-}
+vfloat16mf4_t test_vundefined_f16mf4() { return __riscv_vundefined_f16mf4(); }
----------------
eopXD wrote:

I added script under rvv-intrinsic-doc to apply clang-format to auto-generated test cases.

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


More information about the cfe-commits mailing list