[PATCH] D84264: [SCCP] Directly remove non-feasible edges

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 25 04:36:02 PDT 2020


nikic updated this revision to Diff 280668.
nikic added a comment.

Apply DTU updates only //after// changing the CFG and add previously crashing test. This is the first point in the CAUTION list at https://github.com/llvm/llvm-project/blob/3c1476d26c769cd97a631a129b30c62232ac96b6/llvm/include/llvm/Analysis/DomTreeUpdater.h#L135-L139.


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

https://reviews.llvm.org/D84264

Files:
  llvm/lib/Transforms/Scalar/SCCP.cpp
  llvm/test/Transforms/SCCP/conditions-ranges.ll
  llvm/test/Transforms/SCCP/domtree-update.ll
  llvm/test/Transforms/SCCP/predicateinfo-cond.ll
  llvm/test/Transforms/SCCP/resolvedundefsin-tracked-fn.ll
  llvm/test/Transforms/SCCP/switch-constantfold-crash.ll
  llvm/test/Transforms/SCCP/switch.ll
  llvm/test/Transforms/SCCP/widening.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84264.280668.patch
Type: text/x-patch
Size: 15069 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200725/ceeb365e/attachment.bin>


More information about the llvm-commits mailing list