cleanup primitives
Generate different VHLD code for singleton vectors