Skip to content

[Codegen] Switch narrow type emulation to use nonAtomic operations. - #23344

Closed
hanhanW wants to merge 1 commit into
iree-org:mainfrom
hanhanW:users/hanhanW/switch-to-non-atomic
Closed

hanhanW wants to merge 1 commit into
iree-org:mainfrom
hanhanW:users/hanhanW/switch-to-non-atomic

Conversation

@hanhanW

@hanhanW hanhanW commented Jan 30, 2026

Copy link
Copy Markdown
Contributor

ci-extra: test_torch

Signed-off-by: hanhanW [email protected]

@hanhanW
hanhanW force-pushed the users/hanhanW/switch-to-non-atomic branch from 9ba344c to 81c27cb Compare February 5, 2026 02:02
@hanhanW

hanhanW commented Feb 5, 2026

Copy link
Copy Markdown
Contributor Author

I talked to Mahesh, and we agree that we need to have a verification pass, if we want to disable atomic patterns. The idea is check the offsets after linearization. Ideally, the linearization should happen isolated from the emulation. Then the check can happen in between.

However, it requires more work. Thus, we can check it at the end of the pass for now.

@hanhanW hanhanW closed this Feb 7, 2026
@hanhanW
hanhanW deleted the users/hanhanW/switch-to-non-atomic branch February 7, 2026 00:12
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.

1 participant