You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2020/07/07 16:45:28 UTC

[GitHub] [incubator-tvm] kparzysz-quic opened a new pull request #6006: [LLVM] Auto-convert shuffle with single index to "extract element"

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:
users@infra.apache.org



[GitHub] [incubator-tvm] tqchen merged pull request #6006: [LLVM] Auto-convert shuffle with single index to "extract element"

Posted by GitBox <gi...@apache.org>.
tqchen merged pull request #6006:
URL: https://github.com/apache/incubator-tvm/pull/6006


   


----------------------------------------------------------------
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:
users@infra.apache.org