You should generate another code for SSE 4.1 and AVX, According to my previous comment. REPOSITORY rL LLVM http://reviews.llvm.org/D9645 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/