Skip to content

[CPU] Get rootOp based on lowering config in TileRootAndFuseProducerConsumer pass. - #21394

Merged
hanhanW merged 2 commits into
iree-org:mainfrom
hanhanW:tile-root-op-fallback
Jul 17, 2025
Merged

hanhanW merged 2 commits into
iree-org:mainfrom
hanhanW:tile-root-op-fallback

Conversation

@hanhanW

@hanhanW hanhanW commented Jul 16, 2025

Copy link
Copy Markdown
Contributor

The fusion order could change the IR order, e.g., softmax dispatch. It makes sure that the root op is as the same as the op that is chosen in lowering strategy selection.

…onsumer pass.

The fusion order could change the IR order, e.g., softmax dispatch. It
makes sure that the root op is as the same as the op that is chosen in
lowering strategy selection.

Signed-off-by: hanhanW <[email protected]>

@jtuyls jtuyls 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


// -----

// The test case demonstrate that the rootOp can mismatch the result of

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.

Suggested change
// The test case demonstrate that the rootOp can mismatch the result of
// The test case demonstrates that the rootOp can mismatch the result of

Signed-off-by: hanhanW <[email protected]>
@hanhanW
hanhanW enabled auto-merge (squash) July 17, 2025 16:34
@hanhanW
hanhanW merged commit 7ef556f into iree-org:main Jul 17, 2025
@hanhanW
hanhanW deleted the tile-root-op-fallback branch July 17, 2025 17:26
IanWood1 pushed a commit to IanWood1/iree that referenced this pull request Jul 18, 2025
…onsumer pass. (iree-org#21394)

The fusion order could change the IR order, e.g., softmax dispatch. It
makes sure that the root op is as the same as the op that is chosen in
lowering strategy selection.

---------

Signed-off-by: hanhanW <[email protected]>
AWoloszyn pushed a commit that referenced this pull request Dec 1, 2025
…onsumer pass. (#21394)

The fusion order could change the IR order, e.g., softmax dispatch. It
makes sure that the root op is as the same as the op that is chosen in
lowering strategy selection.

---------

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.

3 participants