summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2013-08-28 03:04:02 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2013-08-28 03:04:02 +0000
commit9ea7c6d4632de3c50ec91273b4eed3230dc684b7 (patch)
tree09ebfb33f59f35a1ab9e62174d885ffa204518d5 /llvm
parent3accde52db87cfdc7d901a1e21fa18ee3e23a4f7 (diff)
downloadbcm5719-llvm-9ea7c6d4632de3c50ec91273b4eed3230dc684b7.tar.gz
bcm5719-llvm-9ea7c6d4632de3c50ec91273b4eed3230dc684b7.zip
X86Subtarget.h: Recognize x86_64-cygwin.
In the LLVM side, x86_64-cygwin is almost as same as x86_64-mingw32. llvm-svn: 189436
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Target/X86/X86Subtarget.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/lib/Target/X86/X86Subtarget.h b/llvm/lib/Target/X86/X86Subtarget.h
index 0c1e9998699..14048cfe54e 100644
--- a/llvm/lib/Target/X86/X86Subtarget.h
+++ b/llvm/lib/Target/X86/X86Subtarget.h
@@ -328,14 +328,11 @@ public:
bool isTargetEnvMacho() const { return TargetTriple.isEnvironmentMachO(); }
bool isTargetWin64() const {
- // FIXME: x86_64-cygwin has not been released yet.
return In64BitMode && TargetTriple.isOSWindows();
}
bool isTargetWin32() const {
- // FIXME: Cygwin is included for isTargetWin64 -- should it be included
- // here too?
- return !In64BitMode && (isTargetMingw() || isTargetWindows());
+ return !In64BitMode && (isTargetCygMing() || isTargetWindows());
}
bool isPICStyleSet() const { return PICStyle != PICStyles::None; }
OpenPOWER on IntegriCloud