Add support for new pass manager
authorAditya Kumar <hiraditya@msn.com>
Wed, 3 Oct 2018 05:55:20 +0000 (05:55 +0000)
committerAditya Kumar <hiraditya@msn.com>
Wed, 3 Oct 2018 05:55:20 +0000 (05:55 +0000)
commit9e20ade72aeb950cb4849de8396821234f8c2ef6
treef3c62c9ca80157ed461d560120e0eb27976b5764
parent101d9eae23b5e15d462b926e91c49ae5b445b581
Add support for new pass manager

Modified the testcases to use both pass managers
Use single commandline flag for both pass managers.

Differential Revision: https://reviews.llvm.org/D52708
Reviewers: sebpop, tejohnson, brzycki, SirishP
Reviewed By: tejohnson, brzycki

llvm-svn: 343662
llvm/include/llvm/Transforms/IPO/HotColdSplitting.h [new file with mode: 0644]
llvm/lib/Passes/PassBuilder.cpp
llvm/lib/Passes/PassRegistry.def
llvm/lib/Transforms/IPO/HotColdSplitting.cpp
llvm/test/Transforms/HotColdSplit/split-cold-1.ll
llvm/test/Transforms/HotColdSplit/split-cold-2.ll