MlirValidator

Validator for MLIR syntax and semantic correctness.

This class provides validation capabilities for generated StableHLO MLIR code, checking for syntax errors, semantic issues, and best practices.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun validate(content: String): List<String>

Validate MLIR content and return list of errors (empty if valid)

Link copied to clipboard

Validate that the content represents a complete MLIR module