This is an archive of the discontinued LLVM Phabricator instance.

Added new file & improved inclusivity
ClosedPublic

Authored by ps-19 on Apr 3 2022, 12:24 AM.

Details

Summary
  • Added new file in .md
  • Removed .txt file
  • Removed mistakes and grammatical error in various files
  • Improved Inclusivity to make it beginner-friendly

Diff Detail

Event Timeline

ps-19 created this revision.Apr 3 2022, 12:24 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 3 2022, 12:24 AM
ps-19 requested review of this revision.Apr 3 2022, 12:24 AM
xbolva00 added inline comments.Apr 3 2022, 3:03 AM
README.md
123

Revert this change here

maypatch.patch
1 ↗(On Diff #420028)

Remove this file

mlir/docs/Interfaces.md
127

Why?

Please ensure that your corrections are actually correct.

mlir/docs/OpDefinitions.md
3

Strange change

mlir/docs/PassManagement.md
911

hooks ... observe. Seems ok, no?

mlir/docs/README.md
7 ↗(On Diff #420028)

Add new line

ps-19 updated this revision to Diff 420040.Apr 3 2022, 5:11 AM
ps-19 marked 5 inline comments as done.Apr 3 2022, 5:17 AM
This comment was removed by ps-19.
mlir/docs/OpDefinitions.md
3

sorry i think by mistake change had happened. I wrote a program to make certain changes to that might had added some noise.

Respected community, i have a question why for all my patches are failing.

No issues in your patch, just CI/CD is not very reliable these days. If found errors are not in the area of your patch, then there are not related to your patch and you can ignore them.

Improved Inclusivity to make it beginner-friendly

I'm not sure I see any change related to this.

README.md
3

I'd split this out: this is an LLVM change the rest is specific to MLIR

mlir/docs/LangRef.md
21 ↗(On Diff #420040)

This change doesn't make sense.

47 ↗(On Diff #420040)

Doesn't make sense.

mlir/docs/PassManagement.md
259

Doesn't make sense

ps-19 updated this revision to Diff 420055.Apr 3 2022, 8:04 AM
ps-19 marked an inline comment as done.
ps-19 edited the summary of this revision. (Show Details)

All mentioned points satisfies now.
@jpienaar

xbolva00 added inline comments.Apr 3 2022, 8:34 AM
mlir/docs/LangRef.md
842 ↗(On Diff #420055)

to learn?

mlir/docs/OpDefinitions.md
589

typo

mlir/docs/PDLL.md
33

Wrong?

areas .. exist

mlir/docs/PassManagement.md
42

Nothing wrong with existing line.

131

ne is typo for be

Once again, please double check that your corrections are actually correct.

README.md
3

contain seems ok, no?

ps-19 updated this revision to Diff 420068.Apr 3 2022, 10:22 AM
ps-19 marked 4 inline comments as done.
mehdi_amini added inline comments.Apr 3 2022, 1:15 PM
README.md
3

contain seemed more correct to me as well?

mlir/README.md
34 ↗(On Diff #420068)

I rather not duplicate the website here, why not just pointing there?

ps-19 updated this revision to Diff 420130.Apr 4 2022, 3:38 AM
ps-19 marked 8 inline comments as done.Apr 4 2022, 8:13 AM

Can anyone please review the differential.

README.md
3

Yes, changes are made in MLIR repository much more than LLVM.

3

As a proof. Both are completely correct, if you think it is not i can edit please give your feedback.


mlir/README.md
1 ↗(On Diff #420055)

https://reviews.llvm.org/p/jpienaar/ i hope i satisfied your remark.
Thank you.

aaron.ballman added inline comments.Apr 4 2022, 11:40 AM
README.md
37–38

Removing the extra whitespace is fine, but I don't understand why you removed Clang from the link title. (I think it's more clear with the Clang because it distinguishes it from the LLVM getting started page but maybe you've got a different idea?)

mlir/README.md
34 ↗(On Diff #420068)

+1, we should just be able to point the user to the MLIR website, I think.

mlir/docs/LangRef.md
23 ↗(On Diff #420130)

I don't think this edit is necessary, but if you wanted to reword this way, it should be "All the different forms describe the same semantic content." to be grammatically correct.

mlir/docs/OpDefinitions.md
214–215
438
584–597

It looks like the numbered lists here are always 1. and that should probably be fixed up.

mlir/docs/README.md
1–8 ↗(On Diff #420130)

Why is this file necessary? There's already a README.txt file, and none of the other top-level projects have a README.md

mehdi_amini added inline comments.Apr 4 2022, 12:06 PM
mlir/docs/README.md
1–8 ↗(On Diff #420130)

Note: this is a renaming of .txt to .md.

I think it is there because some people may navigate on GitHub to https://github.com/llvm/llvm-project/tree/main/mlir/docs and the README is what will be rendered there, it provides an opportunity to discourage people from browsing directly there.
It is likely that some GitHub project are designed for the doc to just render well on GitHub

ps-19 updated this revision to Diff 420281.Apr 4 2022, 12:57 PM
ps-19 marked an inline comment as done.

Most of the changes LGTM, the only concerns I have left are around the READMEs. One thing we could do is split the question about what to do with READMEs off into a separate patch so that we can land the straightforward fixes now, if you'd like.

mlir/docs/README.md
1–8 ↗(On Diff #420130)

Note: this is a renaming of .txt to .md.

Thanks, I had missed that!

I think it is there because some people may navigate on GitHub to https://github.com/llvm/llvm-project/tree/main/mlir/docs and the README is what will be rendered there, it provides an opportunity to discourage people from browsing directly there. It is likely that some GitHub project are designed for the doc to just render well on GitHub

That makes sense, but then I think we should be consistent with all of the README.txt files in the repo. WDYT?

ps-19 marked 6 inline comments as done.EditedApr 5 2022, 5:32 AM

Most of the changes LGTM, the only concerns I have left are around the READMEs. One thing we could do is split the question about what to do with READMEs off into a separate patch so that we can land the straightforward fixes now, if you'd like.

Sir next i am planning to change all .txt into .md if had some time other than working on a choosen issue.
I am waiting for your feedback weather or not revert that change of .txt -> .md.

mlir/README.md
3 ↗(On Diff #420281)

Sir i hope it is fine now.

mlir/docs/README.md
1–8 ↗(On Diff #420130)

I have deleted that .txt file.

1–8 ↗(On Diff #420130)

From my opinion it is a good practice, else if you say i can restore that change back.

Most of the changes LGTM, the only concerns I have left are around the READMEs. One thing we could do is split the question about what to do with READMEs off into a separate patch so that we can land the straightforward fixes now, if you'd like.

Sir next i am planning to change all .txt into .md if had some time other than working on a choosen issue.
I am waiting for your feedback weather or not revert that change of .txt -> .md.

I think you should remove the changes to mlir/README.md and revert the rename of mlir/docs/README.txt. Then I think the patch will be ready to land.

Separately, I'd recommend an additional patch that does the rename from README.txt to README.md for the entire monorepo so that all of the projects are handled consistently.

mlir/README.md
3 ↗(On Diff #420281)

I think the original content was correct -- it was just a link to the website. What we want to avoid here is duplicating content on the website because then when we change the website, someone has to remember to also change this document (which someone will invariably forget to do, and then we may have conflicting information in two places).

ps-19 updated this revision to Diff 420527.Apr 5 2022, 8:40 AM
ps-19 updated this revision to Diff 420529.Apr 5 2022, 8:45 AM
ps-19 updated this revision to Diff 420536.Apr 5 2022, 9:03 AM
aaron.ballman added inline comments.Apr 5 2022, 10:51 AM
mlir/README.md
3 ↗(On Diff #420281)

I think we want to revert the changes to this file as well.

mlir/docs/README.txt
10 ↗(On Diff #420536)

I think this change was unintentional, should probably just revert all changes to the file.

ps-19 updated this revision to Diff 420615.Apr 5 2022, 1:18 PM
ps-19 marked an inline comment as done.

Minor Changes

ps-19 updated this revision to Diff 420618.Apr 5 2022, 1:24 PM

Minor Changes

ps-19 marked an inline comment as done.EditedApr 6 2022, 1:14 PM

Is their anything wrong in this patch?

mehdi_amini added inline comments.Apr 6 2022, 4:26 PM
mlir/README.md
3 ↗(On Diff #420281)

This isn't done, please revert the change to this file entirely.

ps-19 updated this revision to Diff 421097.Apr 6 2022, 11:25 PM
aaron.ballman accepted this revision.Apr 7 2022, 4:09 AM

LGTM, thank you! When I land, I'll amend the commit message to reflect the changes that happened after you submitted the patch.

This revision is now accepted and ready to land.Apr 7 2022, 4:09 AM
aaron.ballman closed this revision.Apr 7 2022, 4:16 AM

I've commit on your behalf in d356cdcf319ea8123c2ba085bed5d67be8dba176, thank you!