I agree with @loladiro, it looks like generic CodeGen bug. Placing it in ExecutionEngine/MCJIT wasn't the best idea, but I've found that lli based test are there. Should I move it to some better place? Like test/CodeGen/Generic? REPOSITORY rL LLVM http://reviews.llvm.org/D7752 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/