Streamline LTO getComdat invocation (NFC)
authorTeresa Johnson <tejohnson@google.com>
Fri, 26 Aug 2016 20:07:15 +0000 (20:07 +0000)
committerTeresa Johnson <tejohnson@google.com>
Fri, 26 Aug 2016 20:07:15 +0000 (20:07 +0000)
commit645ecb108a9676a7398dce75fbec07f8af1b3f64
tree59f4bfea9f5075d67cb1d39d155dca44b74e9f4a
parentf14306b01e505a7442257b2f3df5b86ebc69b69e
Streamline LTO getComdat invocation (NFC)

We already have obtained a pointer to the underlying GlobalObject,
use it directly to find the comdat, rather than using the
GlobalValue::getComdat which will do the same thing again.

llvm-svn: 279856
llvm/include/llvm/LTO/LTO.h