mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-21 10:12:45 +01:00
TypeSize.h: add integral constructor to ElementCount
This commit is contained in:
parent
902970b075
commit
05332b78c7
@ -389,6 +389,9 @@ public:
|
||||
|
||||
ElementCount(const LinearPolySize<ElementCount> &V) : LinearPolySize(V) {}
|
||||
|
||||
ElementCount(unsigned Size, bool IsScalable = false)
|
||||
: LinearPolySize(get(Size, IsScalable)) {}
|
||||
|
||||
/// Counting predicates.
|
||||
///
|
||||
///@{ Number of elements..
|
||||
|
Loading…
Reference in New Issue
Block a user