Open 7FM opened 3 months ago
Thanks for trying this and reporting!
I'm seeing 34 errors presently on my setup, here's a log but I'll start going through these... https://gist.github.com/dtzSiFive/cc4c9652739f455bb36e36490c98d940 .
Enabling debug prints for pattern application (not included above) helps indicate what pattern caused the bug.
This is now down to 11 -- 10 once the Handshake PR lands.
Here's the test list, FWIW:
Failed Tests (11):
CIRCT :: Conversion/LoopScheduleToCalyx/convert_pipeline.mlir
CIRCT :: Conversion/SCFToCalyx/cider_source_location.mlir
CIRCT :: Conversion/SCFToCalyx/convert_controlflow.mlir
CIRCT :: Conversion/SCFToCalyx/convert_func.mlir
CIRCT :: Conversion/SCFToCalyx/convert_memory.mlir
CIRCT :: Conversion/SCFToCalyx/convert_simple.mlir
CIRCT :: Conversion/SCFToCalyx/errors.mlir
CIRCT :: Dialect/Arc/arc-canonicalizer.mlir
CIRCT :: Dialect/Arc/canonicalizers.mlir
CIRCT :: Dialect/Calyx/canonicalization.mlir
CIRCT :: Dialect/Handshake/canonicalization.mlir
While the documentation states that there might be false positives, I think it might be worth a look into the individual test cases and patterns. If there are no false positives, adding
-DMLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS=ON
to the CI could be beneficial.The observed errors are:
LLVM ERROR: operation finger print changed
LLVM ERROR: pattern returned success but IR did not change
LLVM ERROR: IR failed to verify after pattern application