LGTM too. I plan to send a follow-up patch to improve the cost heuristic of intrinsic cttz/ctlz for targets that don't have "cheap" count leading/trailing zeroes. REPOSITORY rL LLVM http://reviews.llvm.org/D7506 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/