patch for LLVM 3.3 and test correction at avx2
Merge pull request #659 from ifilippov/master

patch for LLVM 3.3 and test correction at avx2