Can you split out the triple part of the patch and add a test for it in unittests please? It'll reduce the size of the patch here a bit. You'll also want to clang-format this patch. -eric http://reviews.llvm.org/D8741 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/