SPRU514Z July 2001 – October 2023 SM320F28335-EP
The compiler helps maximize the use of registers for storing local variables, parameters, and temporary values. Accessing variables stored in registers is more efficient than accessing variables in memory. Register variables are particularly effective for pointers.
This type of optimization is enabled by the --opt_level=0 and higher optimization settings.