[llvm] r222188 - Revert "ADT: correctly report isMSVCEnvironment for windows itanium"
Reid Kleckner
reid at kleckner.net
Mon Nov 17 14:55:59 PST 2014
Author: rnk
Date: Mon Nov 17 16:55:59 2014
New Revision: 222188
URL: http://llvm.org/viewvc/llvm-project?rev=222188&view=rev
Log:
Revert "ADT: correctly report isMSVCEnvironment for windows itanium"
This reverts commit r222180.
Modified:
llvm/trunk/include/llvm/ADT/Triple.h
llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
llvm/trunk/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
Modified: llvm/trunk/include/llvm/ADT/Triple.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/Triple.h?rev=222188&r1=222187&r2=222188&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/Triple.h (original)
+++ llvm/trunk/include/llvm/ADT/Triple.h Mon Nov 17 16:55:59 2014
@@ -371,7 +371,6 @@ public:
bool isWindowsMSVCEnvironment() const {
return getOS() == Triple::Win32 &&
(getEnvironment() == Triple::UnknownEnvironment ||
- getEnvironment() == Triple::Itanium ||
getEnvironment() == Triple::MSVC);
}
Modified: llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp?rev=222188&r1=222187&r2=222188&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp (original)
+++ llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp Mon Nov 17 16:55:59 2014
@@ -221,7 +221,7 @@ static MCAsmInfo *createARMMCAsmInfo(con
MAI = new ARMMCAsmInfoDarwin(TT);
else if (TheTriple.isWindowsItaniumEnvironment())
MAI = new ARMCOFFMCAsmInfoGNU();
- else if (TheTriple.isKnownWindowsMSVCEnvironment())
+ else if (TheTriple.isWindowsMSVCEnvironment())
MAI = new ARMCOFFMCAsmInfoMicrosoft();
else
MAI = new ARMELFMCAsmInfo(TT);
Modified: llvm/trunk/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp?rev=222188&r1=222187&r2=222188&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp (original)
+++ llvm/trunk/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp Mon Nov 17 16:55:59 2014
@@ -270,7 +270,7 @@ static MCAsmInfo *createX86MCAsmInfo(con
} else if (TheTriple.isOSBinFormatELF()) {
// Force the use of an ELF container.
MAI = new X86ELFMCAsmInfo(TheTriple);
- } else if (TheTriple.isKnownWindowsMSVCEnvironment()) {
+ } else if (TheTriple.isWindowsMSVCEnvironment()) {
MAI = new X86MCAsmInfoMicrosoft(TheTriple);
} else if (TheTriple.isOSCygMing() ||
TheTriple.isWindowsItaniumEnvironment()) {
More information about the llvm-commits
mailing list