SPRU514Z July 2001 – October 2023 SM320F28335-EP
This optimization identifies expressions within loops that always compute to the same value. The computation is moved in front of the loop, and each occurrence of the expression in the loop is replaced by a reference to the precomputed value.