diff options
author | Chris Lattner <sabre@nondot.org> | 2006-01-28 18:23:48 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-01-28 18:23:48 +0000 |
commit | b3ab2d3a42a231ecdd4573e5130ac296aaedfa5c (patch) | |
tree | 7002beaefa9f92870157e6642ddd9cffe1a3bd73 /llvm/lib/Target/X86/X86Subtarget.cpp | |
parent | be08957dc57902e80cba2b115b02f80a0cef98e8 (diff) | |
download | bcm5719-llvm-b3ab2d3a42a231ecdd4573e5130ac296aaedfa5c.tar.gz bcm5719-llvm-b3ab2d3a42a231ecdd4573e5130ac296aaedfa5c.zip |
Is64Bit reflects the capability of the chip, not an aspect of the target os
llvm-svn: 25749
Diffstat (limited to 'llvm/lib/Target/X86/X86Subtarget.cpp')
-rw-r--r-- | llvm/lib/Target/X86/X86Subtarget.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/Target/X86/X86Subtarget.cpp b/llvm/lib/Target/X86/X86Subtarget.cpp index d8ba88e9e99..a0d26b0fe18 100644 --- a/llvm/lib/Target/X86/X86Subtarget.cpp +++ b/llvm/lib/Target/X86/X86Subtarget.cpp @@ -139,12 +139,6 @@ X86Subtarget::X86Subtarget(const Module &M, const std::string &FS) { // Parse features string. ParseSubtargetFeatures(FS, CPU); - // FIXME: Just because the CPU supports 64-bit operation doesn't mean it isn't - // currently running a 32-bit operating system. This must be taken into account. - // This hack will do for now, though obviously it breaks cross-compilation. - if (sizeof(void *) == 4) - Is64Bit = false; - // Default to ELF unless otherwise specified. TargetType = isELF; |