[all-commits] [llvm/llvm-project] 612b7e: [RISCV] Change the type of argument to clz and ctz...
Jim Lin via All-commits
all-commits at lists.llvm.org
Sun Jun 25 22:15:56 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 612b7e10a9afa797d41e134bc62a8ef87a014caf
https://github.com/llvm/llvm-project/commit/612b7e10a9afa797d41e134bc62a8ef87a014caf
Author: Jim Lin <jim at andestech.com>
Date: 2023-06-26 (Mon, 26 Jun 2023)
Changed paths:
M clang/include/clang/Basic/BuiltinsRISCV.def
M clang/test/CodeGen/RISCV/rvb-intrinsics/riscv32-zbb.c
M clang/test/CodeGen/RISCV/rvb-intrinsics/riscv64-zbb.c
Log Message:
-----------
[RISCV] Change the type of argument to clz and ctz from ZiZi/WiWi to iUZi/iUWi
Input argument of clz and ctz should be unsigned type and return value
should be integer like `builtin_clz` and `builtin_ctz` defined in clang/include/clang/Basic/Builtins.def.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D153235
More information about the All-commits
mailing list