-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-DMLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS=ON
might have found some invalid API usages
#7047
Labels
Arc
Involving the `arc` dialect
Calyx
The Calyx dialect
Comb
Involving the `comb` dialect
FIRRTL
Involving the `firrtl` dialect
Handshake
help wanted
Extra attention is needed
HW
Involving the `hw` dialect
LLHD
LoopSchedule
Comments
7FM
added
help wanted
Extra attention is needed
FIRRTL
Involving the `firrtl` dialect
Handshake
HW
Involving the `hw` dialect
LLHD
Calyx
The Calyx dialect
Comb
Involving the `comb` dialect
Arc
Involving the `arc` dialect
LoopSchedule
labels
May 16, 2024
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. |
dtzSiFive
added a commit
to dtzSiFive/circt
that referenced
this issue
May 16, 2024
Detected by -DMLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS=ON. cc llvm#7047.
dtzSiFive
added a commit
that referenced
this issue
May 16, 2024
Detected by -DMLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS=ON. cc #7047.
dtzSiFive
added a commit
to dtzSiFive/circt
that referenced
this issue
May 16, 2024
Detected by -DMLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS=ON. cc llvm#7047.
dtzSiFive
added a commit
to dtzSiFive/circt
that referenced
this issue
May 16, 2024
Detected by -DMLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS=ON. cc llvm#7047.
This was referenced May 16, 2024
dtzSiFive
added a commit
to dtzSiFive/circt
that referenced
this issue
May 16, 2024
Detected by -DMLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS=ON. cc llvm#7047.
dtzSiFive
added a commit
to dtzSiFive/circt
that referenced
this issue
May 16, 2024
Detected by -DMLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS=ON. cc llvm#7047.
This was referenced May 16, 2024
dtzSiFive
added a commit
that referenced
this issue
May 16, 2024
Detected by -DMLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS=ON. cc #7047.
dtzSiFive
added a commit
to dtzSiFive/circt
that referenced
this issue
May 16, 2024
Detected by -DMLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS=ON. cc llvm#7047.
dtzSiFive
added a commit
to dtzSiFive/circt
that referenced
this issue
May 16, 2024
Detected by -DMLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS=ON. cc llvm#7047.
dtzSiFive
added a commit
that referenced
this issue
May 16, 2024
Detected by -DMLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS=ON. cc #7047.
dtzSiFive
added a commit
that referenced
this issue
May 17, 2024
Detected by -DMLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS=ON. cc #7047.
dtzSiFive
added a commit
that referenced
this issue
May 17, 2024
Fix FoldUnusedPorts to use rewriter for RAUW. Fix FoldReadWritePorts to use rewriter for RAUW. Detected by -DMLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS=ON. cc #7047. Fix more RAUW's to use rewriter, inspection.
This is now down to 11 -- 10 once the Handshake PR lands. Here's the test list, FWIW:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Arc
Involving the `arc` dialect
Calyx
The Calyx dialect
Comb
Involving the `comb` dialect
FIRRTL
Involving the `firrtl` dialect
Handshake
help wanted
Extra attention is needed
HW
Involving the `hw` dialect
LLHD
LoopSchedule
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
The text was updated successfully, but these errors were encountered: