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/02/25 00:02:13 UTC

[GitHub] [tvm] kparzysz-quic opened a new pull request #10381: [Hexagon] Replace strlen in constant initialization with sizeof

kparzysz-quic opened a new pull request #10381:
URL: https://github.com/apache/tvm/pull/10381


   Strlen is not constexpr everywhere, so replace it with `sizeof`. In C++ `sizeof("string")` works fine, since `"string"` has type `"const char [...]"`.


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



[GitHub] [tvm] masahi merged pull request #10381: [Hexagon] Replace strlen in constant initialization with sizeof

Posted by GitBox <gi...@apache.org>.
masahi merged pull request #10381:
URL: https://github.com/apache/tvm/pull/10381


   


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