[llvm-commits] [llvm] r151429 - in /llvm/trunk: include/llvm/Transforms/IPO.h include/llvm/Transforms/IPO/InlinerPass.h include/llvm/Transforms/Utils/Cloning.h lib/Transforms/IPO/InlineAlways.cpp lib/Transforms/IPO/InlineSimple.cpp lib/Transforms/IPO/Inliner.cpp lib/Transforms/Utils/InlineFunction.cpp

Duncan Sands baldrick at free.fr
Fri Feb 24 23:22:37 PST 2012


Hi Chad,

> Add support for disabling llvm.lifetime intrinsics in the AlwaysInliner. These
> are optimization hints, but at -O0 we're not optimizing.  This becomes a problem
> when the alwaysinline attribute is abused.
> rdar://10921594

can you please explain some more for those of us who can't access rdar.  Why is
it a problem, and what alwaysinline abuse do you have in mind?

You also forgot to add a testcase.

Ciao, Duncan.



More information about the llvm-commits mailing list