[PATCH] D42114: Teach ConstantFoldTerminator to preserve DomTree

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 16 11:35:52 PST 2018


arsenm updated this revision to Diff 130003.
arsenm added a comment.

Handle repeated successors correctly. Handle indirectbr, add unit tests.


https://reviews.llvm.org/D42114

Files:
  include/llvm/Transforms/Utils/Local.h
  lib/Transforms/Utils/Local.cpp
  unittests/Transforms/Utils/Local.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42114.130003.patch
Type: text/x-patch
Size: 8231 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180116/a0d29be3/attachment.bin>


More information about the llvm-commits mailing list