masahi commented on PR #80:
URL: https://github.com/apache/tvm-rfcs/pull/80#issuecomment-1183787867

   @JosephTheOctonaut You are right, in the example I gave, the if/else is 
inside the epilogue, so unrolling takes care of generating only one of the 
branches. 
   
   The second suggestion also works: Right now I'm generating `IfThenElse` TIR 
stmt when a predicate is non trivial, but we can use `builtin::if_then_else` as 
an equivalent of a tenary operator. 


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to