[Mlir-commits] [mlir] [mlir][vector] Allow integer indices in vector.extract/insert ops (PR #115808)
Diego Caballero
llvmlistbot at llvm.org
Thu Nov 14 09:56:22 PST 2024
dcaballe wrote:
>Are you thinking that the default for vector.extract/insert should be narrower than for vector.gather? For example, i32 and i64, respectively, on a 64 bit machine?
Yes and no. What I mean here is that gather indices are limited to the memory in the system. Extracts/inserts... not necessarily... For example, could we create a `i1` vector with more elements than memory bytes in the system and then extract one element from it? 😄 Perhaps not very realistic and nothing we should worry about but that's the difference I see between gather and extract/insert indices.
https://github.com/llvm/llvm-project/pull/115808
More information about the Mlir-commits
mailing list