Add test cases for intrinsics clz/ctz when has extension zbb/xtheadbb to demonstrate future changes in codegen.
This patch helps demonstrate codegen changes made in https://reviews.llvm.org/D151867 .
Paths
| Differential D152250
[Clang][RISCV] Add test cases for intrinsics clz/ctz codegen when has extension zbb/xtheadbb AbandonedPublic Authored by Yunzezhu on Jun 6 2023, 2:28 AM.
Details
Summary Add test cases for intrinsics clz/ctz when has extension zbb/xtheadbb to demonstrate future changes in codegen. This patch helps demonstrate codegen changes made in https://reviews.llvm.org/D151867 .
Diff Detail
Unit TestsFailed Event TimelineHerald added subscribers: cfe-commits, • pcwang-thead, eopXD, MaskRay. · View Herald TranscriptJun 6 2023, 2:28 AM
Revision Contents
Diff 528751 clang/test/CodeGen/RISCV/rvb-intrinsics/riscv32-xtheadbb.c
clang/test/CodeGen/RISCV/rvb-intrinsics/riscv32-zbb.c
clang/test/CodeGen/RISCV/rvb-intrinsics/riscv64-xtheadbb.c
clang/test/CodeGen/RISCV/rvb-intrinsics/riscv64-zbb.c
|
Should the return type be int to match __builtin_clzl?