Skip to content

[Tuner][Codegen] Add convert constraints to smtlib string to python binding#23840

Merged
RattataKing merged 12 commits intoiree-org:mainfrom
RattataKing:add_hook
Mar 20, 2026
Merged

[Tuner][Codegen] Add convert constraints to smtlib string to python binding#23840
RattataKing merged 12 commits intoiree-org:mainfrom
RattataKing:add_hook

Conversation

@RattataKing
Copy link
Copy Markdown
Contributor

@RattataKing RattataKing commented Mar 18, 2026

Add constraintsOp to SMTLIB string conversion to python bindings.

Issue: #23535

Copy link
Copy Markdown
Contributor

@bangtianliu bangtianliu left a comment

Choose a reason for hiding this comment

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

The new C API function ireeCodegenConvertConstraintsToSMTModule is NOT added to the API export files.

  cd compiler/src/iree/compiler/API
  python3 generate_exports.py

Comment thread compiler/bindings/python/test/api/tuner_api_test.py Outdated
Copy link
Copy Markdown
Member

@kuhar kuhar left a comment

Choose a reason for hiding this comment

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

I don't think we need to expose this to python -- don't we only need the SMTLIB string?

@RattataKing RattataKing changed the title [Tuner][Codegen] Add convert constraints to smt to python binding [Tuner][Codegen] Add convert constraints to smtlib string to python binding Mar 18, 2026
Comment thread compiler/bindings/python/IREECompilerDialectsModule.cpp Outdated
Comment thread compiler/bindings/python/IREECompilerDialectsModule.cpp Outdated
Comment thread compiler/src/iree/compiler/API/Internal/IREECodegenDialectCAPI.cpp Outdated
@kuhar
Copy link
Copy Markdown
Member

kuhar commented Mar 19, 2026

You have to rebase on top of main to make test failures go away

@RattataKing RattataKing enabled auto-merge (squash) March 19, 2026 20:40
@RattataKing RattataKing force-pushed the add_hook branch 2 times, most recently from 66701bc to a4bbe58 Compare March 20, 2026 16:22
@RattataKing RattataKing merged commit d1e00f1 into iree-org:main Mar 20, 2026
53 of 56 checks passed
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