Skip to content

Conversation

@Hardcode84
Copy link
Contributor

affine.apply is generally useful outside of affine to generate various index computations. Add support for vectors of index to enable vectorized code generation.

All operands and result types must match.
Type is optional in asm format and assumed index if missing so it's backward compatible with exisiting text IR, to reduce churn.

`affine.apply` is generally useful outside of affine to generate various index computations.
Add support for vectors of index to enable vectorized code generation.

All operands and result types must match.
Type is optional in asm format and assumed `index` if missing so it's backward compatible with exisiting text IR, to reduce churn.
Hardcode84 added a commit to iree-org/iree-turbine that referenced this pull request Apr 3, 2025
* Add ability to use `affine.apply` for index codegen
* Limited to non-vector index type for now, need
llvm/llvm-project#129442 for vector support

---------

Signed-off-by: Ivan Butygin <[email protected]>
nithinsubbiah pushed a commit to iree-org/iree-turbine that referenced this pull request Apr 7, 2025
* Add ability to use `affine.apply` for index codegen
* Limited to non-vector index type for now, need
llvm/llvm-project#129442 for vector support

---------

Signed-off-by: Ivan Butygin <[email protected]>
Signed-off-by: nithinsubbiah <[email protected]>
nithinsubbiah pushed a commit to nithinsubbiah/iree-turbine that referenced this pull request Apr 7, 2025
* Add ability to use `affine.apply` for index codegen
* Limited to non-vector index type for now, need
llvm/llvm-project#129442 for vector support

---------

Signed-off-by: Ivan Butygin <[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.

1 participant