[Mlir-commits] [mlir] [mlir][index][spirv] Add conversion for index to spirv (PR #68085)

Finn Plummer llvmlistbot at llvm.org
Thu Oct 12 09:26:03 PDT 2023


inbelic wrote:

Have removed the use of the hack and the options. It was solved by adding Int64 to the list of capabilities of the SPIRV Target Environment in the test case.

Regarding getIndexType, it will determine if we are using a 32 or 64 and then return IntegerType::get(...). Under the assumption that IntegerType::get(...) is not allowed to fail then the index will not either. I believe that is the case? Is there any pattern that denotes if a function is allowed to fail or not?

https://github.com/llvm/llvm-project/pull/68085


More information about the Mlir-commits mailing list