[PATCH] D81237: Correctly report modified status for SimplifyCFG and LoopSimplify

serge via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 5 01:03:47 PDT 2020


serge-sans-paille created this revision.
serge-sans-paille added reviewers: manmanren, nikic, foad, jdoerfert.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.

Related to https://reviews.llvm.org/D80916

This required to modify the helper function FoldBranchToCommonDest, but it also has the surprising side effect to make the simplification more efficient in at least one tested case, thus the test update.


https://reviews.llvm.org/D81237

Files:
  llvm/include/llvm/Transforms/Utils/Local.h
  llvm/lib/Transforms/Utils/LoopSimplify.cpp
  llvm/lib/Transforms/Utils/SimplifyCFG.cpp
  llvm/test/Transforms/SimplifyCFG/fold-branch-debuginvariant.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81237.268690.patch
Type: text/x-patch
Size: 4307 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200605/01c9fe01/attachment.bin>


More information about the llvm-commits mailing list