search for: someothervec

Displaying 4 results from an estimated 4 matches for "someothervec".

2020 Mar 09
8
[RFC] Refactor class hierarchy of VectorType in the IR
...in a vector or array. Today, there is a comment that documents the fact that this returns only the minimum number of elements for scalable vectors, however there exists a ton of code in the codebase that is now misusing getNumElements(). Some examples: Auto *V = VectorType::get(Ty, SomeOtherVec->getNumElements()); This code was previously perfectly fine but is incorrect for scalable vectors. When scalable vectors were introduced VectorType::get() was refactored to take a bool to tell if the vector is scalable. This bool has a default value of false. In this example, get...
2020 Apr 22
2
[Update][RFC] Refactor class hierarchy of VectorType in the IR
...in a vector or array. Today, there is a comment that documents the fact that this returns only the minimum number of elements for scalable vectors, however there exists a ton of code in the codebase that is now misusing getNumElements(). Some examples: Auto *V = VectorType::get(Ty, SomeOtherVec->getNumElements()); This code was previously perfectly fine but is incorrect for scalable vectors. When scalable vectors were introduced VectorType::get() was refactored to take a bool to tell if the vector is scalable. This bool has a default value of false. In this example, get...
2020 May 05
2
[Update][RFC] Refactor class hierarchy of VectorType in the IR
...array. Today, there is a comment that documents the fact that this returns only the minimum number of elements for scalable vectors, however there exists a ton of code in the codebase that is now misusing getNumElements(). Some examples: > > Auto *V = VectorType::get(Ty, > SomeOtherVec->getNumElements()); > > This code was previously perfectly fine but is incorrect for scalable vectors. When scalable vectors were introduced VectorType::get() was refactored to take a bool to tell if the vector is scalable. This bool has a default value of false. In this ex...
2020 May 21
3
[RFC] Refactor class hierarchy of VectorType in the IR
...mber of elements in a vector or array. Today, there is a comment that documents the fact that this returns only the minimum number of elements for scalable vectors, however there exists a ton of code in the codebase that is now misusing getNumElements(). Some examples: Auto *V = VectorType::get(Ty, SomeOtherVec->getNumElements()); This code was previously perfectly fine but is incorrect for scalable vectors. When scalable vectors were introduced VectorType::get() was refactored to take a bool to tell if the vector is scalable. This bool has a default value of false. In this example, get() is returning...