[clang] 176f7f2 - [clang][RISCV] Remove unneeded overloaded suffix for vcreate (#89241)

via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 18 20:55:24 PDT 2024


Author: Brandon Wu
Date: 2024-04-19T11:55:20+08:00
New Revision: 176f7f2c7c1cbc98e10a1cd611d221f473db7a5e

URL: https://github.com/llvm/llvm-project/commit/176f7f2c7c1cbc98e10a1cd611d221f473db7a5e
DIFF: https://github.com/llvm/llvm-project/commit/176f7f2c7c1cbc98e10a1cd611d221f473db7a5e.diff

LOG: [clang][RISCV] Remove unneeded overloaded suffix for vcreate (#89241)

Since `vcreate` doesn't support overload, we can remove it.

Added: 
    

Modified: 
    clang/include/clang/Basic/riscv_vector.td

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/Basic/riscv_vector.td b/clang/include/clang/Basic/riscv_vector.td
index 87a18e8474ef50..76ed544f3b2bb1 100644
--- a/clang/include/clang/Basic/riscv_vector.td
+++ b/clang/include/clang/Basic/riscv_vector.td
@@ -357,13 +357,13 @@ multiclass RVVNonTupleVCreateBuiltin<int dst_lmul, list<int> src_lmul_list> {
     defvar src_s = FixedVString<src_lmul, num, "v">.S;
     def vcreate # src_v # dst_v : RVVBuiltin<src_v # dst_v,
                                              dst_v # src_s,
-                                             "csilxfd", dst_v>;
+                                             "csilxfd">;
 
     defvar src_uv = FixedVString<src_lmul, num, "Uv">.V;
     defvar src_us = FixedVString<src_lmul, num, "Uv">.S;
     def vcreate_u # src_uv # dst_uv : RVVBuiltin<src_uv # dst_uv,
                                                  dst_uv # src_us,
-                                                 "csil", dst_uv>;
+                                                 "csil">;
   }
 }
 


        


More information about the cfe-commits mailing list