Fix : Partial Inliner requires AssumptionCacheTracker
authorSean Silva <chisophugis@gmail.com>
Mon, 25 Jul 2016 05:00:00 +0000 (05:00 +0000)
committerSean Silva <chisophugis@gmail.com>
Mon, 25 Jul 2016 05:00:00 +0000 (05:00 +0000)
commitfe5abd5e0cd0c3aa997cb6204a2644e8cf6f3fc0
tree7b1b16ab5cb5b4fcb9953914db8897243a38ad53
parente26aada9153497d64a6df74e285b620a6617a714
Fix : Partial Inliner requires AssumptionCacheTracker

The public InlineFunction utility assumes that the passed in
InlineFunctionInfo has a valid AssumptionCacheTracker.

Patch by River Riddle!

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

llvm-svn: 276609
llvm/include/llvm/Transforms/IPO/PartialInlining.h
llvm/lib/Transforms/IPO/PartialInlining.cpp
llvm/test/Transforms/Inline/partial-inline-act.ll [new file with mode: 0644]