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/09/14 16:02:58 UTC

[GitHub] [tvm] wrongtest-intellif opened a new pull request, #12772: [TVMScript] Fix parse minimal i32 literal for tir script

wrongtest-intellif opened a new pull request, #12772:
URL: https://github.com/apache/tvm/pull/12772

   Hi there~ the change try fix an issue due to #12515.
   
   Previously the logic for `-2147483648` is  `parse(-literal)` = `-parse(literal)`, and all integer literals are converted to i32 (either the literal value actually overflow or not). 
   
   Since after #12515, parse `2147483648` results to an i64 typed integer rather than i32, `-2147483648` then becomes to one i64 integer too, which is not reasonable.


-- 
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] junrushao merged pull request #12772: [TVMScript] Fix parse minimal i32 literal for tir script

Posted by GitBox <gi...@apache.org>.
junrushao merged PR #12772:
URL: https://github.com/apache/tvm/pull/12772


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