forked from OSchip/llvm-project
parent
f86bf4abfa
commit
0b10fd4f4a
|
@ -149,7 +149,7 @@ namespace llvm {
|
|||
SimpleTy <= MVT::LAST_VECTOR_VALUETYPE);
|
||||
}
|
||||
|
||||
/// isPow2VectorType - Retuns true if the given vector is a power of 2.
|
||||
/// isPow2VectorType - Returns true if the given vector is a power of 2.
|
||||
bool isPow2VectorType() const {
|
||||
unsigned NElts = getVectorNumElements();
|
||||
return !(NElts & (NElts - 1));
|
||||
|
|
Loading…
Reference in New Issue