kparzysz-quic opened a new pull request #6006: URL: https://github.com/apache/incubator-tvm/pull/6006
Data types with a single lane are treated as scalars in TVM. On the other hand, in LLVM there is a difference between a scalar type and a vector type with a single lane. Because of that, a shuffle with a single index is equivalent to extracting an element in TIR, but not in the generated LLVM IR. This patch changes the LLVM codegen for shuffle to auto-convert single-lane vectors to scalars. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
