Skip to content

[mlir] Add --force-mlir flag in soltest and a semantic test runner#92

Draft
abinavpp wants to merge 1 commit intomainfrom
app-sema-test
Draft

[mlir] Add --force-mlir flag in soltest and a semantic test runner#92
abinavpp wants to merge 1 commit intomainfrom
app-sema-test

Conversation

@abinavpp
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a command-line switch to force semantic tests to compile/run via the MLIR pipeline, and introduces a helper script to execute semantic tests in parallel by spawning one soltest process per test.

Changes:

  • Add --force-mlir to soltest common options and plumb it into semantic test execution.
  • Update SemanticTest selection logic to prefer MLIR when --force-mlir is set.
  • Add test/mlirSemtests.sh parallel runner that invokes soltest per semantic test with --force-mlir.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
test/mlirSemtests.sh New GNU-parallel-based runner for semantic tests, forcing MLIR compilation.
test/libsolidity/SemanticTest.cpp Forces MLIR run selection when CommonOptions::forceMlir is enabled.
test/Common.h Adds forceMlir flag to shared test options.
test/Common.cpp Registers --force-mlir in Boost program_options.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@abinavpp abinavpp marked this pull request as draft March 31, 2026 16:19
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