Skip to content

[CPU] Disable lowering_config propagation for Mmt4dTilingExpert pipeline - #21298

Merged
hanhanW merged 1 commit into
iree-org:mainfrom
hanhanW:cpu-mmt4d-root-op-base-pipeline
Jul 8, 2025
Merged

hanhanW merged 1 commit into
iree-org:mainfrom
hanhanW:cpu-mmt4d-root-op-base-pipeline

Conversation

@hanhanW

@hanhanW hanhanW commented Jul 8, 2025

Copy link
Copy Markdown
Contributor

To verify that it fixes the issue, the stack allocation check is added to pipeline tests, which makes sure all the pipeline tests are generating valid IRs.

It is a step towards #21197 and #21297

Fixes #20786

To verify that it fixes the issue, the stack allocation check is added to pipeline tests, which makes sure all the pipeline tests are generating valid IRs.

It is a step towards iree-org#21197

Fixes iree-org#20786

Signed-off-by: hanhanW <[email protected]>
@hanhanW
hanhanW requested a review from Max191 July 8, 2025 00:25
Comment on lines +3217 to +3218
if (pipeline != DispatchLoweringPassPipeline::TransformDialectCodegen &&
pipeline != DispatchLoweringPassPipeline::Mmt4dTilingExpert) {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I had a prototype in https://github.com/hanhanW/iree/commits/cpu-root-op-lowering-config/ and found that we do not really need the isRootOp interface method.

The change is harder because I also need to migrate the TilingConfig logic and complete the scalable vector support for the new attribute. Thus, I decide to leave it this way, as it was also my first proposal last year, and I'll work myself or with others to complete the lowering config migration in the background/later.

@pashu123 pashu123 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

@hanhanW
hanhanW merged commit 1993d5c into iree-org:main Jul 8, 2025
@hanhanW
hanhanW deleted the cpu-mmt4d-root-op-base-pipeline branch July 8, 2025 18:33
AWoloszyn pushed a commit that referenced this pull request Dec 1, 2025
…ine (#21298)

To verify that it fixes the issue, the stack allocation check is added
to pipeline tests, which makes sure all the pipeline tests are
generating valid IRs.

It is a step towards #21197 and
#21297

Fixes #20786

Signed-off-by: hanhanW <[email protected]>
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.

[CPU] CPU backend produces unfused IR in mmt4d->unpack->elem dispatch

2 participants