This is the way most targets do it for a simple mapping.
We can't do this for all builtins due to type overloading of the IR intrinsics.
Paths
| Differential D154567
[RISCV] Use ClangBuiltin in IntrinsicsRISCV.td to map some scalar crypto builtins to IR intrinsic. ClosedPublic Authored by craig.topper on Jul 5 2023, 11:17 PM.
Details Summary This is the way most targets do it for a simple mapping. We can't do this for all builtins due to type overloading of the IR intrinsics.
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJul 5 2023, 11:17 PM This revision is now accepted and ready to land.Jul 6 2023, 5:07 AM This revision was landed with ongoing or failed builds.Jul 6 2023, 7:54 AM Closed by commit rG1db5b49ae62a: [RISCV] Use ClangBuiltin in IntrinsicsRISCV.td to map some scalar crypto… (authored by craig.topper). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 537593 clang/lib/CodeGen/CGBuiltin.cpp
llvm/include/llvm/IR/IntrinsicsRISCV.td
|
clang-format not found in user’s local PATH; not linting file.