[PATCH] D70213: [ModuloSchedule] Fix a bug in experimental expander during prologue/epilogue stitching.

Thomas Raoux via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 13 16:40:28 PST 2019


ThomasRaoux created this revision.
ThomasRaoux added a reviewer: jmolloy.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.

Fix two problems that popped up after my last patch. One is that the
stitching of prologue/epilogue can be wrong when reading a value from a
previous stage. Also changed how we duplicate phi instructions to avoid
generating extra phi that we delete later.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D70213

Files:
  llvm/include/llvm/CodeGen/ModuloSchedule.h
  llvm/lib/CodeGen/ModuloSchedule.cpp
  llvm/test/CodeGen/Hexagon/swp-epilog-phi12.ll
  llvm/test/CodeGen/Hexagon/swp-stages4.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70213.229204.patch
Type: text/x-patch
Size: 7128 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191114/bd98dbf2/attachment.bin>


More information about the llvm-commits mailing list