Skip to content

Conversation

cofibrant
Copy link

To properly support the matrix intrinsics on, e.g., 32-bit platforms (without the need to emit libc calls), LowerMatrixIntrinsics pass should generate code that performs strided index calculations using the same pointer bit-width as the matrix pointers, as determined by the data layout. This patch updates the LowerMatrixInstrics transform to make this the case.

PR: llvm#162646 (cherry picked from commit 625aa09)

@cofibrant
Copy link
Author

@swift-ci test

…lvm#162646)

To properly support the matrix intrinsics on, e.g., 32-bit platforms
(without the need to emit `libc` calls), `LowerMatrixIntrinsics` pass
should generate code that performs strided index calculations using the
same pointer bit-width as the matrix pointers, as determined by the data
layout. This patch updates the `LowerMatrixInstrics` transform to make
this the case.

PR: llvm#162646
(cherry picked from commit 625aa09)
@cofibrant cofibrant force-pushed the cofibrant/cherry-pick-matrix-intrinsics-index branch from 834d03f to 88f9a01 Compare October 16, 2025 08:19
@cofibrant
Copy link
Author

@swift-ci test

@fhahn
Copy link

fhahn commented Oct 17, 2025

@swift-ci test llvm

@fhahn fhahn merged commit 1179e0c into swiftlang:stable/21.x Oct 18, 2025
3 of 5 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.

2 participants