SPRU514Z July 2001 – October 2023 SM320F28335-EP
In this phase, the compiler is invoked with the --use_profile_info=file.prf option, which reads the specified PRF file generated in phase 1. In phase 2, optimization decisions are made using the data generated during phase 1. The profile feedback file is used to guide program optimization. The compiler optimizes frequently executed program paths more aggressively.
The compiler uses data in the profile feedback file to guide certain optimizations of frequently executed program paths.