[PATCH] D108910: [IndVars] Break backedge and replace PHIs if loop exits on 1st iteration

Dmitry Makogon via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 2 03:55:19 PDT 2021


dmakogon updated this revision to Diff 370222.
dmakogon added a comment.

Now we do not simplify replaced PHI nodes leaving it for further passes


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D108910/new/

https://reviews.llvm.org/D108910

Files:
  llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
  llvm/test/Transforms/IndVarSimplify/eliminate-backedge.ll
  llvm/test/Transforms/IndVarSimplify/eliminate-exit-no-dl.ll
  llvm/test/Transforms/IndVarSimplify/floating-point-iv.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108910.370222.patch
Type: text/x-patch
Size: 11157 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210902/20fb9f1a/attachment.bin>


More information about the llvm-commits mailing list