[clang] [clang][RISCV] Remove unneeded overloaded suffix for vcreate (PR #89241)
Brandon Wu via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 18 07:32:30 PDT 2024
https://github.com/4vtomat created https://github.com/llvm/llvm-project/pull/89241
Since `vcreate` doesn't support overload, we can remove it.
>From a29cda00de03552529b510eda427804f822278e6 Mon Sep 17 00:00:00 2001
From: Brandon Wu <brandon.wu at sifive.com>
Date: Thu, 18 Apr 2024 07:29:42 -0700
Subject: [PATCH] [clang][RISCV] Remove unneeded overloaded suffix for vcreate
Since `vcreate` doesn't support overload, we can remove it.
---
clang/include/clang/Basic/riscv_vector.td | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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