Hi @earthdok, I have created a new patch http://reviews.llvm.org/D7013. This patch includes the changes in this patch and the test case required for it. REPOSITORY rL LLVM http://reviews.llvm.org/D5616 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/