[PATCH] D152441: [SLPVectorizer] Don't include debug instructions in ScheduleRegionSize

Mikael Holmén via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 8 06:20:18 PDT 2023


uabelho created this revision.
uabelho added reviewers: jmorse, ABataev.
Herald added subscribers: vporpo, bjope, hiraditya.
Herald added a project: All.
uabelho requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead.
Herald added a project: LLVM.

We don't want the existence of debug instructions affect codegen so we now
ignore debug instructions in the "extend schedule region" search loop in
BoUpSLP::BlockScheduling::extendSchedulingRegion.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D152441

Files:
  llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
  llvm/test/Transforms/SLPVectorizer/X86/schedule_budget.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152441.529575.patch
Type: text/x-patch
Size: 13866 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230608/f6f82d26/attachment.bin>


More information about the llvm-commits mailing list