DeadCodeEliminationPass

Dead code elimination pass

This pass removes operations whose results are never used, reducing the size and complexity of the generated code.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val name: String

Name of this optimization pass

Functions

Link copied to clipboard
open override fun apply(module: StableHloModule): StableHloModule

Apply this optimization pass to a module