[PATCH] D152250: [Clang][RISCV] Add test cases for intrinsics clz/ctz codegen when has extension zbb/xtheadbb

Yunze Zhu(Thead) via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 6 02:28:09 PDT 2023


Yunzezhu created this revision.
Yunzezhu added reviewers: asb, craig.topper, kito-cheng.
Yunzezhu added a project: clang.
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, arichardson.
Herald added a project: All.
Yunzezhu requested review of this revision.
Herald added subscribers: cfe-commits, pcwang-thead, eopXD, MaskRay.

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 .


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D152250

Files:
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152250.528751.patch
Type: text/x-patch
Size: 7611 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230606/08c2a7b4/attachment.bin>


More information about the cfe-commits mailing list