From 8f4dd44097c9ae25dd203d5ac87f3b48f854bba8 Mon Sep 17 00:00:00 2001 From: wangpc Date: Thu, 10 Aug 2023 20:40:28 +0800 Subject: [PATCH] [RISCV] Fix wrong type prototype of RVVSlideOneBuiltinSet We need unsigned integer here. Fixes #64534 Reviewed By: eopXD Differential Revision: https://reviews.llvm.org/D157476 (cherry picked from commit 5a3753f35632f8fd7920c5c99b1237113b5c435e) --- clang/include/clang/Basic/riscv_vector.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/include/clang/Basic/riscv_vector.td b/clang/include/clang/Basic/riscv_vector.td index 5bf1916d..6adc600 100644 --- a/clang/include/clang/Basic/riscv_vector.td +++ b/clang/include/clang/Basic/riscv_vector.td @@ -112,7 +112,7 @@ multiclass RVVIntBinBuiltinSet multiclass RVVSlideOneBuiltinSet : RVVOutOp1BuiltinSet; + ["vx", "Uv", "UvUvUe"]]>; multiclass RVVSignedShiftBuiltinSet : RVVOutOp1BuiltinSet