Skip to content
Commit 30c532e0 authored by Argyrios Kyrtzidis's avatar Argyrios Kyrtzidis
Browse files

Introduce PackedVector, useful for storing a vector of values using a specific...

Introduce PackedVector, useful for storing a vector of values using a specific number of bits for each
value. Both signed and unsigned types can be used, e.g

   PackedVector<signed, 2> vec;

will create a vector accepting values -2, -1, 0, 1. Any other value will hit an assertion.

llvm-svn: 132325
parent 394f516d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment