Controls the use of loop invariant optimization.
#pragma opt_loop_invariants on | off | reset
If you enable this pragma, the compiler moves all computations that do not change inside a loop outside the loop, which then runs faster.
This pragma does not correspond to any panel setting. To check this setting, use __option (opt_loop_invariants), described in Checking Settings. This settings is related to the “global_optimizer” level.