Turns out PR11449 was already fixed before this patch. The patch is still necessary for the more complicated testcase that is included. REPOSITORY rL LLVM http://reviews.llvm.org/D9415 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/