This revision was automatically updated to reflect the committed changes.
Closed by commit rGf78d932cf23a: [RISCV] Add IR intrinsics for Zbc extension
(authored by LevyHsu, committed by craig.topper).
Changed prior to commit:
https://reviews.llvm.org/D99711?vs=334882&id=335008#toc
Repository:
craig.topper accepted this revision.
craig.topper added a comment.
This revision is now accepted and ready to land.
LGTM. We can adjust the builtin names in the future if we need to do something
different to match gcc.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://r
LevyHsu updated this revision to Diff 334882.
LevyHsu marked 2 inline comments as done.
LevyHsu added a comment.
1. clang/include/clang/Basic/BuiltinsRISCV.def clang/lib/CodeGen/CGBuiltin.cpp
llvm/include/llvm/IR/IntrinsicsRISCV.td
clang/test/CodeGen/RISCV/rvb-intrinsics/riscv32-zbc.c
clang/tes
craig.topper added inline comments.
Comment at: clang/include/clang/Basic/BuiltinsRISCV.def:22
+TARGET_BUILTIN(__builtin_riscv_clmul, "LiLiLi", "nc", "experimental-zbc")
+TARGET_BUILTIN(__builtin_riscv_clmul_h, "LiLiLi", "nc", "experimental-zbc")
+TARGET_BUILTIN(__builtin_riscv_c