Note that we don't support COFF on PPC.
Should bring back the windows bots.
llvm-svn: 232701
diff --git a/llvm/lib/Support/Triple.cpp b/llvm/lib/Support/Triple.cpp
index 4b4ee28..58af8d9 100644
--- a/llvm/lib/Support/Triple.cpp
+++ b/llvm/lib/Support/Triple.cpp
@@ -453,6 +453,13 @@
case Triple::sparcv9:
case Triple::systemz:
case Triple::xcore:
+ case Triple::ppc64le:
+ return Triple::ELF;
+
+ case Triple::ppc:
+ case Triple::ppc64:
+ if (T.isOSDarwin())
+ return Triple::MachO;
return Triple::ELF;
}