This is an archive of the discontinued LLVM Phabricator instance.

[SLP] Update X86/schedule_budget.ll test case to show budget impact
ClosedPublic

Authored by bjope on Jun 9 2023, 5:54 AM.

Details

Summary

The comments and the checks in

test/Transforms/SLPVectorizer/X86/schedule_budget.ll

did not match. After commit 352c46e70716061e99 the vectorization
has happened also with the reduced budget.

This patch is supposed to restore the original intention with the
test case (the one described in the comments). We want to see
that a restricted budget may reduce the amount of vectorization (i.e.
verifying that the -slp-schedule-budget option makes a difference),
while a higher budget still result in vectorization.

Diff Detail

Event Timeline

bjope created this revision.Jun 9 2023, 5:54 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 9 2023, 5:54 AM
bjope requested review of this revision.Jun 9 2023, 5:54 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 9 2023, 5:54 AM
This revision is now accepted and ready to land.Jun 9 2023, 5:58 AM
This revision was landed with ongoing or failed builds.Jun 9 2023, 6:34 AM
This revision was automatically updated to reflect the committed changes.