Lunderberg opened a new pull request, #14497:
URL: https://github.com/apache/tvm/pull/14497

   Prior to this commit, `SeqStmt::Flatten` could accept an arbitrary number of 
arguments, where each argument was of type `const tir::Stmt&` or an iterable.  
However, if `SeqStmt::Flatten` were passed a subclass of `tir::Stmt`, the 
templated overload was selected as the better match.  This commit rewrites 
`SeqStmt::Flatten` using C++17's `"constexpr if"` feature, to handle cases of 
`SeqStmt`, superclasses of `SeqStmt`, and other subclasses of `Stmt`.


-- 
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