This is an archive of the discontinued LLVM Phabricator instance.

[TEST][LICM] Add test cases on widenable condition hoisting opportunity
ClosedPublic

Authored by aleksandr.popov on Apr 27 2023, 12:17 PM.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptApr 27 2023, 12:17 PM
Herald added a subscriber: asbirlea. · View Herald Transcript
aleksandr.popov requested review of this revision.Apr 27 2023, 12:17 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 27 2023, 12:17 PM
skatkov accepted this revision.Apr 27 2023, 7:21 PM
skatkov added inline comments.
llvm/test/Transforms/LICM/explicit_guards.ll
132

I would add a description of opportunity.
If we hoist WC we could hoist and as well otherwise it prevents us from doing that.

This revision is now accepted and ready to land.Apr 27 2023, 7:21 PM

And actually instead of NFC tag you can just say [TEST]

mkazantsev added inline comments.Apr 27 2023, 10:34 PM
llvm/test/Transforms/LICM/explicit_guards.ll
156

Please add a test where wc goes before the icmp7 (see my comment to D149374).

aleksandr.popov retitled this revision from [NFC][LICM] Add test case on widenable condition hoisting opportunity to [NFC][LICM] Add test cases on widenable condition hoisting opportunity.
aleksandr.popov retitled this revision from [NFC][LICM] Add test cases on widenable condition hoisting opportunity to [TEST][LICM] Add test cases on widenable condition hoisting opportunity.
aleksandr.popov added inline comments.
llvm/test/Transforms/LICM/explicit_guards.ll
132

I would add a description of opportunity.

Thanks, added

156

Done

This revision was landed with ongoing or failed builds.Apr 28 2023, 3:56 AM
This revision was automatically updated to reflect the committed changes.