This is an archive of the discontinued LLVM Phabricator instance.

[SimpleLoopUnswitch] Allow threshold to be specified zero or more times
ClosedPublic

Authored by ctetreau on Sep 27 2021, 2:40 PM.

Diff Detail

Event Timeline

ctetreau created this revision.Sep 27 2021, 2:40 PM
ctetreau requested review of this revision.Sep 27 2021, 2:40 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 27 2021, 2:40 PM

What's the motivation behind this?
In general I don't think we support this sort of -mllvm behavior.

What's the motivation behind this?
In general I don't think we support this sort of -mllvm behavior.

Internally, we have clang set this to override the default. Then, if the user tries to set it, they will get an error.

This revision was not accepted when it landed; it landed in state Needs Review.Oct 4 2021, 9:36 AM
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.

@aeubanks Sorry, I accidentally pushed this commit. Personally, I think it's fine and obvious (meeting the standards of merging without review), but if you still object let me know and I can revert it.

I still think it's kinda iffy, but not really a huge deal