[PATCH] D48258: [LoopSimplifyCFG] Preserve Scalar Evolution in LoopSimplifyCFG

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 16 15:06:19 PDT 2018


dmgreen created this revision.
dmgreen added reviewers: asbirlea, chandlerc, dberris, escha, spatel.

LoopSimplifyCFG, being a loop pass, needs to preserve scalar
evolution. This invalidates SE for the loops altered during
block merging.

Needs https://reviews.llvm.org/D48202 for the test to cause
a validation failure.


https://reviews.llvm.org/D48258

Files:
  lib/Transforms/Scalar/LoopSimplifyCFG.cpp
  test/Transforms/LoopSimplifyCFG/scev.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48258.151626.patch
Type: text/x-patch
Size: 3448 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180616/bcd43fe6/attachment.bin>


More information about the llvm-commits mailing list