This is an archive of the discontinued LLVM Phabricator instance.

Add RISC-V sifive-s51 cpu
ClosedPublic

Authored by apivovarov on Aug 28 2021, 11:07 PM.

Diff Detail

Event Timeline

apivovarov created this revision.Aug 28 2021, 11:07 PM
apivovarov requested review of this revision.Aug 28 2021, 11:07 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptAug 28 2021, 11:07 PM

fix typo in MCPU-ABI-SIFIVE-S51

Please upload patches with full context. Using -U999999 as documented here https://llvm.org/docs/Phabricator.html#requesting-a-review-via-the-web-interface

apivovarov updated this revision to Diff 369635.EditedAug 30 2021, 11:27 PM

updated the patch

Add sifive-s51 to test target-invalid-cpu-note.c error messages match string

apivovarov added a subscriber: kito.cheng.

@evandro @kito-cheng @kito.cheng @khchen @MaskRay Could you review this patch? Thank you

jrtc27 added a comment.Sep 1 2021, 1:11 PM

@evandro @kito-cheng @kito.cheng @khchen @MaskRay Could you review this patch? Thank you

You don't need to tag people as well as adding them as reviewers, it's just annoying. Also, it's only been four days; the developer policy is that for non-urgent patches you shouldn't ping more than once a week.

Looks reasonable. You can add a bullet point to clang/docs/ReleaseNotes.rst

apivovarov added a comment.EditedSep 1 2021, 2:06 PM

You don't need to tag people as well as adding them as reviewers, it's just annoying. Also, it's only been four days; the developer policy is that for non-urgent patches you shouldn't ping more than once a week.

Jessica, Contributing to LLVM says - To make sure the right people see your patch, please select suitable reviewers and add them to your patch when requesting a review. Suitable reviewers are the code owner (see CODE_OWNERS.txt) and other people doing work in the area your patch touches.

The people I added as reviewers have contributed to RISC-V target code in the past.

evandro accepted this revision.Sep 1 2021, 2:16 PM

LGTM

This revision is now accepted and ready to land.Sep 1 2021, 2:16 PM
jrtc27 added a comment.Sep 1 2021, 2:17 PM

You don't need to tag people as well as adding them as reviewers, it's just annoying. Also, it's only been four days; the developer policy is that for non-urgent patches you shouldn't ping more than once a week.

Jessica, Contributing to LLVM says - To make sure the right people see your patch, please select suitable reviewers and add them to your patch when requesting a review. Suitable reviewers are the code owner (see CODE_OWNERS.txt) and other people doing work in the area your patch touches.

The people I added as reviewers have contributed to RISC-V target code in the past.

Yeah, but that means adding them as reviewers, you don't also need to @ them in general.

apivovarov updated this revision to Diff 370072.EditedSep 1 2021, 2:45 PM

Fangrui, I've added a note to Release Notes

I don't think that such a minor change makes sense to be added to the release notes.

Exactly, but they were not similar changes, but more significant ones, including the addition pipeline models. But I don't feel strongly about it.

Add Cortex-A78C Support for Clang and LLVM is similar to this patch. As we can see cortex-a78c support was included to the ReleaseNotes 12.x. From the other side adding sifive-e76 and sifive-u74 support has not been mentioned in the Release Notes for version 12.0

Add Cortex-A78C Support for Clang and LLVM is similar to this patch. As we can see cortex-a78c support was included to the ReleaseNotes 12.x. From the other side adding sifive-e76 and sifive-u74 support has not been mentioned in the Release Notes for version 12.0

Fair enough.

This revision was automatically updated to reflect the committed changes.