This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Drop single letter b extension support
ClosedPublic

Authored by kito-cheng on Oct 26 2022, 9:01 PM.

Details

Summary

It splited into several zb* extensions, and b is dropped after
0.93, so it time to retired that as other non-ratified zb* extensions.

Currntly clang can accept that with warning:

$ clang -target riscv64-elf ~/hello.c -S -march=rv64gcb
'+b' is not a recognized feature for this target (ignoring feature)
'+b' is not a recognized feature for this target (ignoring feature)
'+b' is not a recognized feature for this target (ignoring feature)

Diff Detail

Event Timeline

kito-cheng created this revision.Oct 26 2022, 9:01 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 26 2022, 9:01 PM
kito-cheng requested review of this revision.Oct 26 2022, 9:01 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptOct 26 2022, 9:01 PM
kito-cheng edited the summary of this revision. (Show Details)Oct 26 2022, 9:03 PM
asb accepted this revision.Oct 27 2022, 5:08 AM

LGTM, thanks.

This revision is now accepted and ready to land.Oct 27 2022, 5:08 AM
luismarques accepted this revision.Oct 27 2022, 5:52 AM
This revision was automatically updated to reflect the committed changes.