mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 21:00:29 +00: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