• Krzysztof Drewniak's avatar
    [MLIR] Capture diagnostics, handle compile failure (#2001) · 48af0bcf
    Krzysztof Drewniak authored
    Add mlir_logger, which registers a MLIR diagnostic handler that
    captures any information generated by a MLIR compile and saves it to a
    string.
    
    This will be useful during tuning, where some such errors may be the
    result of an inapplicable tuning configuration and should be
    suppressed.
    48af0bcf
mlir.cpp 37.1 KB