[PATCH] D47259: [IPSCCP,PM] Preserve DT in the new pass manager.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 8 08:52:50 PST 2018


fhahn updated this revision to Diff 173173.
fhahn added a comment.

Fixed test case (new pm needs -passes='ipsccp,function(verify<domtree>) to verify the DTs afterwards), also pass DTU to other changeToUnreachable and ConstantFoldTerminator calls.


https://reviews.llvm.org/D47259

Files:
  include/llvm/Transforms/Scalar/SCCP.h
  lib/Transforms/IPO/SCCP.cpp
  lib/Transforms/Scalar/SCCP.cpp
  test/Transforms/SCCP/ipsccp-preserve-domtree.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47259.173173.patch
Type: text/x-patch
Size: 11199 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181108/7872e184/attachment.bin>


More information about the llvm-commits mailing list