[PATCH] D152530: [SLP] Update X86/schedule_budget.ll test case to show budget impact

Bjorn Pettersson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 9 05:54:53 PDT 2023


bjope created this revision.
bjope added a reviewer: ABataev.
Herald added subscribers: vporpo, pengfei.
Herald added a project: All.
bjope requested review of this revision.
Herald added a subscriber: pcwang-thead.
Herald added a project: LLVM.

The comments and the checks in

  test/Transforms/SLPVectorizer/X86/schedule_budget.ll

did not match. After commit 352c46e70716061e99 <https://reviews.llvm.org/rG352c46e70716061e99cae2009daddbfc78380fda> 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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D152530

Files:
  llvm/test/Transforms/SLPVectorizer/X86/schedule_budget.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152530.529934.patch
Type: text/x-patch
Size: 8082 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230609/5401d917/attachment.bin>


More information about the llvm-commits mailing list