[PATCH] D75943: [LoopInterchange] Do not break LCSSA

Alexey Zhikhartsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 10 10:19:36 PDT 2020


alexey.zhikhar created this revision.
alexey.zhikhar added a reviewer: fhahn.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.

Previously LCSSA was getting broken by placing instructions into the
(newly) inner *header* instead of the *pre*header.

Fixes PR43474


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D75943

Files:
  llvm/lib/Transforms/Scalar/LoopInterchange.cpp
  llvm/test/Transforms/LoopInterchange/lcssa-preheader.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75943.249432.patch
Type: text/x-patch
Size: 6071 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200310/3c30e629/attachment.bin>


More information about the llvm-commits mailing list