forked from OSchip/llvm-project
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. llvm-svn: 209068
This commit is contained in:
parent
7ef81a4f98
commit
b9081f4490
|
@ -6760,8 +6760,6 @@ const TargetCodeGenInfo &CodeGenModule::getTargetCodeGenInfo() {
|
|||
|
||||
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,
|
||||
|
|
Loading…
Reference in New Issue