-
Type:
Enhancement
-
Resolution: Won't Implement
-
Priority:
Not Prioritized
-
Code Generation Tools
-
CODEGEN-12710
-
C7000_3.1.0.LTS
-
default
-
The issue relates to optimizer heuristics for inlining profitability. For more fine-grained control in performance critical code when heuristics cannot be trusted, __attribute__((always_inline)) or similar should be used.
The attached example has two implementations of a function that contains some loops that call some small functions. In one implementation, all of the function calls are inlined, and the loops are software pipelined. In the other implementation, one of the functions, which is called multiple times, is not inlined. The loops are not software pipelined.