This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Remove getCPUFeaturesExceptStdExt.
ClosedPublic

Authored by craig.topper on Apr 10 2023, 4:23 PM.

Details

Summary

This function was used to force +64bit or -64bit into the feature
string basd on -mcpu.

It's not entirely clear to me why this was needed. This informationo
is redundant with the triple. RISCVTargetInfo::initFeatureMap
independently recomputes it from the triple for the feature map.

It is ultimately needed in the backend, but that should be handled
by RISCVSubtarget processing the CPU name.

Diff Detail

Event Timeline

craig.topper created this revision.Apr 10 2023, 4:23 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 10 2023, 4:23 PM
craig.topper requested review of this revision.Apr 10 2023, 4:23 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptApr 10 2023, 4:23 PM
asb accepted this revision.Apr 11 2023, 4:45 AM

LGTM.

This revision is now accepted and ready to land.Apr 11 2023, 4:45 AM
This revision was automatically updated to reflect the committed changes.