forked from neo-ai/tvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[LLVM] VectorType::get with two parameters is deprecated in LLVM 11+ (a…
…pache#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.
- Loading branch information
Krzysztof Parzyszek
authored and
Trevor Morris
committed
Jul 14, 2020
1 parent
395313a
commit 37ca901
Showing
2 changed files
with
16 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters