RKSimon added a subscriber: RKSimon. RKSimon added a comment. Hi Igor, Have you looked into promoting i8/i16 vector CTLZ to use the dword LZCNT instruction (trunc(sub(lzcnt(zext(x))))? Cheers, Simon. Repository: rL LLVM http://reviews.llvm.org/D11931