[PATCH] D157476: [RISCV] Fix wrong type prototype of RVVSlideOneBuiltinSet

Wang Pengcheng via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 8 23:28:51 PDT 2023


wangpc created this revision.
wangpc added reviewers: kito-cheng, eopXD, craig.topper.
Herald added subscribers: jobnoorman, luke, VincentWu, vkmr, frasercrmck, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, arichardson.
Herald added a project: All.
wangpc requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

We need unsigned integer here.

Fixes #64534


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D157476

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


Index: clang/include/clang/Basic/riscv_vector.td
===================================================================
--- clang/include/clang/Basic/riscv_vector.td
+++ clang/include/clang/Basic/riscv_vector.td
@@ -125,7 +125,7 @@
 multiclass RVVSlideOneBuiltinSet
     : RVVOutOp1BuiltinSet<NAME, "csil",
                           [["vx", "v", "vve"],
-                           ["vx", "Uv", "UvUve"]]>;
+                           ["vx", "Uv", "UvUvUe"]]>;
 
 multiclass RVVSignedShiftBuiltinSet
     : RVVOutOp1BuiltinSet<NAME, "csil",


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157476.548472.patch
Type: text/x-patch
Size: 539 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230809/43c71a67/attachment-0001.bin>


More information about the cfe-commits mailing list