opt_strength_reduction

Controls the use of strength reduction optimization.

Syntax
#pragma opt_strength_reduction on | off | reset
  
Remarks

If you enable this pragma, the compiler replaces array element arithmetic instructions with pointer arithmetic instructions to make loops faster.

This pragma does not correspond to any panel setting. By default, this settings is related to the "global_optimizer" on page 471 level.

Related information
global_optimizer
ipa
ipa_inline_max_auto_size
ipa_not_complete
load_store_elimination
opt_common_subs
opt_dead_assignments
opt_dead_code
opt_lifetimes
opt_loop_invariants
opt_propagation
opt_strength_reduction_strict
opt_unroll_loops
opt_vectorize_loops
optimization_level
optimize_for_size
optimizewithasm
pack
strictheaderchecking