[PATCH] D105700: [LoopSimplify] Convert loop with multiple latches to nested loop using dominator tree

JinGu Kang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 22 11:11:33 PDT 2021


jaykang10 updated this revision to Diff 360894.
jaykang10 added a comment.

Following comments of @eli.friedman, added a heuristic and updated tests.


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

https://reviews.llvm.org/D105700

Files:
  llvm/lib/Transforms/Utils/LoopSimplify.cpp
  llvm/test/CodeGen/AArch64/aarch64-loop-gep-opt.ll
  llvm/test/CodeGen/AArch64/cmpxchg-idioms.ll
  llvm/test/CodeGen/AMDGPU/collapse-endcf.ll
  llvm/test/CodeGen/SystemZ/pr32372.ll
  llvm/test/CodeGen/X86/2008-04-28-CoalescerBug.ll
  llvm/test/CodeGen/X86/2009-02-26-MachineLICMBug.ll
  llvm/test/CodeGen/X86/bb_rotate.ll
  llvm/test/Transforms/IndVarSimplify/2011-10-27-lftrnull.ll
  llvm/test/Transforms/LoopSimplify/multiple-latches.ll
  llvm/test/Transforms/LoopSimplifyCFG/constant-fold-branch.ll
  llvm/test/Transforms/LoopSimplifyCFG/update_parents.ll
  llvm/test/Transforms/LoopVectorize/loop-form.ll
  llvm/test/Transforms/LoopVectorize/loop-legality-checks.ll
  llvm/test/Transforms/LoopVectorize/skeleton-lcssa-crash.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105700.360894.patch
Type: text/x-patch
Size: 39664 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210722/d878efae/attachment-0001.bin>


More information about the llvm-commits mailing list