diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-07-20 04:02:20 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-07-20 04:02:20 +0000 |
commit | e3345c4e4a9d9afe43bad24d287d44baa1a5dc9a (patch) | |
tree | e99afcf0caf6899ab45a552bba3fef3f12b4feca | |
parent | 03c45f60f35ec07e417cd40ff73cb87665f41ec4 (diff) |
X86Subtarget.h: Assume "x86_64-cygwin", though it has not been released yet, to appease test/CodeGen/X86 on cygwin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135564 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/X86/X86Subtarget.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/X86/X86Subtarget.h b/lib/Target/X86/X86Subtarget.h index 6d22027b7a..d5c433f9aa 100644 --- a/lib/Target/X86/X86Subtarget.h +++ b/lib/Target/X86/X86Subtarget.h @@ -199,7 +199,8 @@ public: } bool isTargetWin64() const { - return In64BitMode && (isTargetMingw() || isTargetWindows()); + // FIXME: x86_64-cygwin has not been released yet. + return In64BitMode && (isTargetCygMing() || isTargetWindows()); } bool isTargetEnvMacho() const { |