This is an archive of the discontinued LLVM Phabricator instance.

Remove --commit/--commit=1 flags/settings.
ClosedPublic

Authored by MatzeB on Jul 18 2017, 4:37 PM.

Details

Summary

This removes the possibility to submit but not commit a run.

  • Most users want to commit, and it was easy to forget the flag.
  • If the intention is to check a submission for errors, lnt checkformat can be used.

This also reverts most of the changes in r308256; as there is little use
in making the flag simpler to use when we can just remove it instead.

Diff Detail

Repository
rL LLVM

Event Timeline

MatzeB created this revision.Jul 18 2017, 4:37 PM
grosser edited edge metadata.Jul 25 2017, 12:09 AM

Interesting. I wonder if one use case for this option was to submit (but not commit) a run and then just obtain a set of performance comparisons against the last submitted run. I think I have seen this pattern once, but I am not using it.

I personally won't be affected by the removal of this option, so I am fine with dropping it immediately. Now, a slightly less agressive approach would be to just switch it's default value, deprecate it and wait for a release or two to actually remove it.

MatzeB updated this revision to Diff 108687.Jul 28 2017, 11:58 AM

Rebase to ToT

kristof.beyls edited edge metadata.Aug 8 2017, 6:43 AM

Interesting. I wonder if one use case for this option was to submit (but not commit) a run and then just obtain a set of performance comparisons against the last submitted run. I think I have seen this pattern once, but I am not using it.

I personally won't be affected by the removal of this option, so I am fine with dropping it immediately. Now, a slightly less agressive approach would be to just switch it's default value, deprecate it and wait for a release or two to actually remove it.

I also don't know of any team using the submit-without-commit functionality. So, from my point-of-view, dropping this functionality is also fine.

This revision was automatically updated to reflect the committed changes.