--oo_dead_code_elimination

Applicability

Product

Supported

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas 200I/500 A2 inference products

Atlas inference products

Atlas training products

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: When pred (input 1) of a switch statement is a constant node, one of the branches can be eliminated based on the value of const. If const is true, the false branch is eliminated; if const is false, the true branch is eliminated.

See Also

None

Argument

  • 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