Skip to content

Split instcombine test file into one file per pattern (#519).#608

Closed
sishtiaq wants to merge 1 commit into
opencompl:mainfrom
sishtiaq:sishtiaq/519-split-instcombine-test
Closed

Split instcombine test file into one file per pattern (#519).#608
sishtiaq wants to merge 1 commit into
opencompl:mainfrom
sishtiaq:sishtiaq/519-split-instcombine-test

Conversation

@sishtiaq
Copy link
Copy Markdown
Collaborator

Split instcombine test file into one file per pattern (#519).

Copy link
Copy Markdown
Collaborator

@math-fehr math-fehr left a comment

Choose a reason for hiding this comment

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

Thanks! I just left a comment about a missing test.test. Otherwise, can you also delete the current instcombine.mlir file as well? Then we can merge this!

// CHECK: %{{.*}} = "llvm.mlir.constant"() <{"value" = 2 : i32}> : () -> i32
// CHECK-NEXT: %{{.*}} = "test.test"() : () -> i32

%mul_two = "llvm.mul"(%a, %two) : (i32, i32) -> i32
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Can you add the test.test operation here as well? Otherwise this might remove all operations in the future once we implement DCE.

@math-fehr
Copy link
Copy Markdown
Collaborator

Is this superceeded by #616 ?

@sishtiaq
Copy link
Copy Markdown
Collaborator Author

sishtiaq commented May 21, 2026

Is this superceeded by #616 ?

Yes. I'll close this one.
(This was from my fork. But now I've got contrib permissions to upstream, I don't need to PR from my fork.)

@sishtiaq
Copy link
Copy Markdown
Collaborator Author

Superceeded by #616.

@sishtiaq sishtiaq closed this May 21, 2026
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.

2 participants