Schedule Hot Cold Splitting pass after most optimization passes
authorAditya Kumar <hiraditya@msn.com>
Sun, 21 Oct 2018 18:11:56 +0000 (18:11 +0000)
committerAditya Kumar <hiraditya@msn.com>
Sun, 21 Oct 2018 18:11:56 +0000 (18:11 +0000)
commitd9e2e383a976b4a075e2a483ce45f76520b897e1
treecd530b6ea40b6f29ee00e435f676820f2fca8fec
parenteb806d5f30fd4b2011e80b02a2049f37764a7236
Schedule Hot Cold Splitting pass after most optimization passes

Summary:
In the new+old pass manager, hot cold splitting was schedule too early.
Thanks to Vedant for pointing this out.

Reviewers: sebpop, vsk

Reviewed By: sebpop, vsk

Subscribers: mehdi_amini, llvm-commits

Differential Revision: https://reviews.llvm.org/D53437

llvm-svn: 344869
llvm/lib/Passes/PassBuilder.cpp
llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
llvm/test/Other/opt-hot-cold-split.ll [new file with mode: 0644]