3 Commits

Author SHA1 Message Date
Finn Plummer
5aee156b2a
Reland: "[mlir][index][spirv] Add conversion for index to spirv" (#69790)
Due to an issue when lowering from scf to spirv as there was no
conversion pass for index to spirv, we are motivated to add a conversion
pass from the Index dialect to the SPIR-V dialect. Furthermore, we add
the new conversion patterns to the scf-to-spirv conversion.

Fixes https://github.com/llvm/llvm-project/issues/63713

---------

Co-authored-by: Jeremy Kun <jkun@google.com>
2023-10-21 20:36:28 -04:00
Jakub Kuderski
8b02ceb133 Revert "[mlir][index][spirv] Add conversion for index to spirv (#68085)"
This caused linker issues on a buildbot:
https://lab.llvm.org/buildbot/#/builders/61/builds/50716.

This reverts commit 3c07a21683c3c0a30aef4a47dde31cb85ad9830c.
2023-10-20 13:18:31 -04:00
Finn Plummer
3c07a21683
[mlir][index][spirv] Add conversion for index to spirv (#68085)
Due to an issue when lowering from scf to spirv as there was no
conversion pass for index to spirv, we are motivated to add a conversion
pass from the Index dialect to the SPIR-V dialect. Furthermore, we add
the new conversion patterns to the scf-to-spirv conversion.

Fixes #63713
2023-10-20 11:46:54 -04:00