load_store_elimination

Controls the use of load store elimination optimization.

Syntax
#pragma load_store_elimination on|off|reset
Remarks

This optimization will track all loads and stores within the entire function and figure out which ones are unnecessary and deletes them.

This optimization will be enabled by default only when the opt level is 3 or higher.

This pragma does not correspond to any panel setting.

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