This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Split __builtin_riscv_brev8 into _32 and _64 builtin.
ClosedPublic

Authored by craig.topper on Jul 6 2023, 10:47 PM.

Details

Summary

Allow _32 builtin on RV64 since it only brev8+sext.w.

Part of an effort to remove 'long' to mean XLen from the builtin
interface.

Matches the proposal here https://github.com/riscv-non-isa/riscv-c-api-doc/pull/44

Diff Detail

Event Timeline

craig.topper created this revision.Jul 6 2023, 10:47 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 6 2023, 10:47 PM
craig.topper requested review of this revision.Jul 6 2023, 10:47 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 6 2023, 10:47 PM
asb accepted this revision.Jul 9 2023, 6:21 AM

LGTM.

This revision is now accepted and ready to land.Jul 9 2023, 6:21 AM
This revision was landed with ongoing or failed builds.Jul 10 2023, 1:01 PM
This revision was automatically updated to reflect the committed changes.