From: Chris Lattner Date: Sat, 28 Jan 2006 18:23:48 +0000 (+0000) Subject: Is64Bit reflects the capability of the chip, not an aspect of the target os X-Git-Tag: android-x86-6.0-r1~1003^2~44879 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=c2fad16155d7b3d8499c01c538bb90fb4d5252b5;p=android-x86%2Fexternal-llvm.git Is64Bit reflects the capability of the chip, not an aspect of the target os git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25749 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86Subtarget.cpp b/lib/Target/X86/X86Subtarget.cpp index d8ba88e9e99..a0d26b0fe18 100644 --- a/lib/Target/X86/X86Subtarget.cpp +++ b/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;