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

Kito Cheng via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 29 23:59:37 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(); }
----------------
kito-cheng wrote:

Why this format changed here? it seems unrelated to this patch?

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


More information about the cfe-commits mailing list