Preserve the assumption cache more often
authorDavid Majnemer <david.majnemer@gmail.com>
Tue, 16 Aug 2016 22:07:32 +0000 (22:07 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Tue, 16 Aug 2016 22:07:32 +0000 (22:07 +0000)
commit744a8753dbe25ae314b7bfef758212f11d8839b1
treeaa9d6ec67952991f18353f3e86560f2b1c9f4932
parente47df1ac62daa5ef33488a528b14cffd18b3250e
Preserve the assumption cache more often

We were clearing it out in LoopUnswitch and InlineFunction instead of
attempting to preserve it.

llvm-svn: 278860
llvm/lib/Transforms/Scalar/LoopUnswitch.cpp
llvm/lib/Transforms/Utils/InlineFunction.cpp