Skip to content

Conversation

@copybara-service
Copy link

[Mosaic GPU] Avoid unnecessary conversion to and from ptr for lowering of dialect barriers.

@copybara-service copybara-service bot force-pushed the test_788032165 branch 2 times, most recently from 13812d3 to 4a03778 Compare July 30, 2025 14:37
…g of dialect barriers.

PiperOrigin-RevId: 788907078
@copybara-service copybara-service bot merged commit d4609e0 into main Jul 30, 2025
1 check was pending
@copybara-service copybara-service bot deleted the test_788032165 branch July 30, 2025 15:16
copybara-service bot pushed a commit that referenced this pull request Oct 31, 2025
In [#30545](#30545), we replaced the conversion from LLVM pointer to Memref with an unrealized conversion cast. We forgot to update the lowering of `InitializeBarrierOp` accordingly.

The reason this is not a problem is because the result of `InitializeBarrierOp` is never used. We could drop the returned value from the op but this is orthogonal to this change.

PiperOrigin-RevId: 826498254
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