De-duplicate CS.getCalledFunction() expression.
authorYaron Keren <yaron.keren@gmail.com>
Sun, 19 Jul 2015 11:52:02 +0000 (11:52 +0000)
committerYaron Keren <yaron.keren@gmail.com>
Sun, 19 Jul 2015 11:52:02 +0000 (11:52 +0000)
commit3c6839f477ed13a12eb6986ebf97274b6f3772f5
tree5ca24f28ef93108e9b53460f3f1971bc3e72d1c8
parente13745001dd709e47bf3e6a5678d2c72bf2b296b
De-duplicate CS.getCalledFunction() expression.

Not sure if the optimizer will save the call as getCalledFunction()
is not a trivial access function but the code is clearer this way.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242641 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/Inliner.cpp