[PATCH] D120552: [SLP] "Normal" instructions should not go between PHI and Lading pad

Evgeniy via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 25 03:15:09 PST 2022


ebrevnov created this revision.
Herald added a subscriber: hiraditya.
ebrevnov requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Currently, SLP can insert "shuffle" instruction beween PHI and Landing pad instruction. The problem is demonstrated by LIT test. The solution is to adjust insertion point once we are done with PHI generation.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D120552

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120552.411369.patch
Type: text/x-patch
Size: 5719 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220225/20fffa21/attachment.bin>


More information about the llvm-commits mailing list