That looks like the right fix. Please add some CHECK lines to the test to at least verify that llc is running on each function, even though you can't directly test this code path. REPOSITORY rL LLVM http://reviews.llvm.org/D8556 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/