--oo_dead_code_elimination

Applicable Products

All processors

Description

Extended parameter for debugging. It cannot be used in commercial products and will be released as a formal function in later versions.

Enables dead-edge elimination optimization.

Dead-edge elimination optimization: If the first input (pred input) of a switch node is a constant node (const), redundant branches are eliminated based on the value of the constant. If the constant is true, false branches are removed. If the constant is false, true branches are removed.

See Also

None

Arguments

  • true (default): Enables dead-edge elimination optimization.
  • false: Disables dead-edge elimination optimization.

Suggestions and Benefits

None

Example

--oo_dead_code_elimination=true

Restrictions

None