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 2022/06/21 04:38:43 UTC
[GitHub] [tvm] junrushao1994 commented on pull request #11795: [CodeGen][LLVM] Lower if_then_else() with select
junrushao1994 commented on PR #11795:
URL: https://github.com/apache/tvm/pull/11795#issuecomment-1161258565
Quick question: in TIR, `T.Select` means both branches are executed no matter which value the conditional is evaluated to - which brings benefits that make it vectorizable in certain cases. However, if the conditional is a safeguard to avoid access out of buffer boundary, replacing it with `T.Select` will lead the program to crash. Therefore, I would love to learn if our implementation here in LLVM codegen will lead to the same effect? Thanks a lot!
--
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.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org