[PATCH] D103316: Hoist llvm.assume into single predecessor if block otherwise empty

Markus Lavin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 15 02:54:04 PDT 2021


markus updated this revision to Diff 352078.
markus edited the summary of this revision.
markus added a comment.

Updated to address (some) review comments, clang-tidy warnings and taking the `Succ->getSinglePredecessor()` condition into account to avoid duplication of instructions.


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

https://reviews.llvm.org/D103316

Files:
  llvm/include/llvm/Transforms/Utils/Local.h
  llvm/lib/Transforms/Utils/Local.cpp
  llvm/lib/Transforms/Utils/SimplifyCFG.cpp
  llvm/test/Transforms/InstCombine/assume-align.ll
  llvm/test/Transforms/SimplifyCFG/hoist-assume.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103316.352078.patch
Type: text/x-patch
Size: 8852 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210615/8e4a0542/attachment.bin>


More information about the llvm-commits mailing list