This is an archive of the discontinued LLVM Phabricator instance.

[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 Timeline

craig.topper created this revision.Jul 5 2023, 11:17 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 5 2023, 11:17 PM
craig.topper requested review of this revision.Jul 5 2023, 11:17 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJul 5 2023, 11:17 PM
asb accepted this revision.Jul 6 2023, 5:07 AM

LGTM.

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
This revision was automatically updated to reflect the committed changes.