Skip to content

Conversation

@uenoku
Copy link
Member

@uenoku uenoku commented Oct 21, 2025

//CHECK-NEXT: sv.always posedge %rw_clock_0 {
//CHECK-NEXT: %[[rwwcondpre:.+]] = comb.and %rw_wmode_0, %true
//CHECK-NEXT: %[[rwwcond:.+]] = comb.and %rw_en_0, %[[rwwcondpre]]
//CHECK-NEXT: %[[rwwcond:.+]] = comb.and %rw_en_0, %rw_wmode_0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is surprising. I assume something changed upstream with more/better/fixed running of canonicalizers?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, I think this is related llvm/llvm-project#160615. createOrFold is used in HWMemSimImpl and the PR changes createOrFold to apply folding until settled.

@uenoku uenoku marked this pull request as ready for review October 22, 2025 00:50
@uenoku uenoku requested a review from darthscsi as a code owner October 22, 2025 00:50
@uenoku
Copy link
Member Author

uenoku commented Oct 25, 2025

Will merge once llvm/llvm-project#165053 is upstreamed.

@uenoku uenoku force-pushed the dev/hidetou/bump-llvm branch from d692593 to 37c66da Compare October 26, 2025 19:52
@uenoku uenoku merged commit 1384077 into main Oct 27, 2025
7 checks passed
@uenoku uenoku deleted the dev/hidetou/bump-llvm branch October 27, 2025 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants