[Open64-devel] Lightweight vs Standalone Inliner
Brought to you by:
ributzka,
suneeljain
From: Christophe L. <chr...@st...> - 2004-01-16 15:10:04
|
Hi all, I am wondering what is the purpose of the difference between the lightweight and the standalone inliner? In the standard Open64 build, the inliner is built with -D_LIGHTWEIGHT_INLINER. What would exactly bring the _STANDALONE_INLINER version? For instance, I have noticed that the lightweight version does not check the number of actual vs formal parameters (causing a compiler failure in some cases), while this is handled by the IPA inliner (and would be by the standalone inliner too). Similarly, I have seen that several other conditions leading to non-inlining of functions are not handled by the lightweight-inliner, which makes me worry about possible compiler crashes. For instance, tracking of pragmas, VLAs, exceptions are triggered with #ifndef _LIGHTWEIGHT_INLINER. Would it be safe to enable the standalone inliner instead of the lightweight one? What are the risks, benefits, drawbacks? Thanks, Christophe. |