This revision starts making concrete use of 0-d vectors to extend the semantics of
ExtractElementOp.
In the process a new VectorOfAnyRank Tablegen OpBase.td is added to allow progressive transition to supporting 0-d vectors by gradually opting in.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir | ||
---|---|---|
424 | I am surprised the index is not zero? From the tests above it seems like LLVM uses zero based indexing? The example: |
True! I assume it is lowered to n-d hardware vector and the scalar is broadcasted to all lanes?
For how long do you think we would need this temporary definitions?