r209068 - CodeGen: remove MinGW and Cygwin legacy entries

Saleem Abdulrasool compnerd at compnerd.org
Sat May 17 08:46:59 PDT 2014


Author: compnerd
Date: Sat May 17 10:46:59 2014
New Revision: 209068

URL: http://llvm.org/viewvc/llvm-project?rev=209068&view=rev
Log:
CodeGen: remove MinGW and Cygwin legacy entries

These are now treated as environments.  Remove references to these enumeration
values in order to clean up the unused enumeration entries in LLVM.  The target
normalisation prior to tool invocation should ensure that the old values
continue to function properly.

Modified:
    cfe/trunk/lib/CodeGen/TargetInfo.cpp

Modified: cfe/trunk/lib/CodeGen/TargetInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/TargetInfo.cpp?rev=209068&r1=209067&r2=209068&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/TargetInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/TargetInfo.cpp Sat May 17 10:46:59 2014
@@ -6760,8 +6760,6 @@ const TargetCodeGenInfo &CodeGenModule::
 
     switch (Triple.getOS()) {
     case llvm::Triple::Win32:
-    case llvm::Triple::MinGW32:
-    case llvm::Triple::Cygwin:
       return *(TheTargetCodeGenInfo = new WinX86_64TargetCodeGenInfo(Types));
     case llvm::Triple::NaCl:
       return *(TheTargetCodeGenInfo = new NaClX86_64TargetCodeGenInfo(Types,





More information about the cfe-commits mailing list