The display below, taken from the experimental compiler, illustrates
a case where inline decoupling of intrinsic functions can improve
the outcome of decoupling. If the cmplx
function were inlined
before decoupling, then the loops shown here would execute on the
DU. Thus, the interaction between CU and DU would be avoided, and there
would be no LOD.
Figure 12: An LOD from OCEAN which disappears when the CMPLX function
is inlined before decoupling (click on image to view at full scale)