[all-commits] [llvm/llvm-project] 192cce: Revert "Recommit "[GlobalOpt] Pass DTU to removeUn...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Jan 14 06:55:51 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 192cce10f67e4f22be6d9b8c0975f78ad246d1bd
      https://github.com/llvm/llvm-project/commit/192cce10f67e4f22be6d9b8c0975f78ad246d1bd
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M llvm/lib/Transforms/IPO/GlobalOpt.cpp

  Log Message:
  -----------
  Revert "Recommit "[GlobalOpt] Pass DTU to removeUnreachableBlocks instead of recomputing.""

This reverts commit a03d7b0f24b65d69721dbbbc871df0629efcf774.

As discussed in D68298, this causes a compile-time regression, in case
the DTs requested are not used elsewhere in GlobalOpt. We should only
get the DTs if they are available here, but this seems not possible with
the legacy pass manager from a module pass.




More information about the All-commits mailing list