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

Jakub Kuderski llvmlistbot at llvm.org
Thu Oct 19 16:28:19 PDT 2023


kuhar wrote:

> 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?

OK, SGTM, thanks for checking.


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


More information about the Mlir-commits mailing list