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 2020/07/02 19:12:06 UTC

[GitHub] [incubator-tvm] kparzysz-quic opened a new pull request #5984: [LLVM] VectorType::get with two parameters is deprecated in LLVM 11+

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


   In LLVM 11+ the distinction between fixed and scalable vector types has become more explicit. Before the introduction of scalable vector types `VectorType::get(e,n)` created what is now a fixed vector type. With the addition of scalable types, it is recommended to use `FixedVectorType` and `ScalableVectorType` classes directly. Alternatively, there is a `VectorType::get` that accepts a 3rd parameter indicating whether the type should be fixed or scalable.
   Using the older `VectorType::get` that implicitly assumes the fixed type is deprecated and LLVM now generates a warning.
   
   Change calls to `VectorType::get` to `FixedVectorType::get` to avoid compilation warnings.


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-tvm] tqchen commented on pull request #5984: [LLVM] VectorType::get with two parameters is deprecated in LLVM 11+

Posted by GitBox <gi...@apache.org>.
tqchen commented on pull request #5984:
URL: https://github.com/apache/incubator-tvm/pull/5984#issuecomment-653266636


   Thanks @kparzysz-quic @junrushao1994 !


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-tvm] tqchen merged pull request #5984: [LLVM] VectorType::get with two parameters is deprecated in LLVM 11+

Posted by GitBox <gi...@apache.org>.
tqchen merged pull request #5984:
URL: https://github.com/apache/incubator-tvm/pull/5984


   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org