You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by "ysh329 (via GitHub)" <gi...@apache.org> on 2025/02/17 10:38:17 UTC

Re: [PR] [Codegen] Fix if_then_else codegen [tvm]

ysh329 commented on PR #16242:
URL: https://github.com/apache/tvm/pull/16242#issuecomment-2662710168

   > > isn't short circuiting the defined behavior for ternary expression?
   > 
   > When generating codes for `a?b:c`, there might be bindings for b or c generated ahead. These binding codes are not protected by condition a.
   
   Hi, bohan, I recently am supporting Ternary Operator(like cond?true_branch:false_branch) in our device. I don't understand this modification. Can u explain this with a case? 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