[Inliner] passing inline hint to optimizer if it appears explicitly on declaration

ping

This question is probably more fit for cfe-dev (CC’d). I’d guess that it has to do with which declaration we look at when determining the function attributes.

Thanks Sean.

Cfe-devs, any feedback on the issue described below?

I have a potential solution here:

http://reviews.llvm.org/D8656

Is this a reasonable fix?

Thanks,

Balaram