5.7.7.22 Gcse-lm Option

The -fgcse-lm option attempts to have the global common subexpression elimination optimizations move load sequences that are only killed by stores into themselves. This allows a loop containing a load/store sequence to change to a load outside the loop, and a copy/store within the loop.

The option is enabled when -fgcse is enabled.

The -fno-gcse-lm form of this option does not move these sequences.