[llvm-commits] CVS: llvm/lib/Target/X86/X86Subtarget.cpp

Chris Lattner lattner at cs.uiuc.edu
Sat Jan 28 10:24:00 PST 2006



Changes in directory llvm/lib/Target/X86:

X86Subtarget.cpp updated: 1.16 -> 1.17
---
Log message:

Is64Bit reflects the capability of the chip, not an aspect of the target os


---
Diffs of the changes:  (+0 -6)

 X86Subtarget.cpp |    6 ------
 1 files changed, 6 deletions(-)


Index: llvm/lib/Target/X86/X86Subtarget.cpp
diff -u llvm/lib/Target/X86/X86Subtarget.cpp:1.16 llvm/lib/Target/X86/X86Subtarget.cpp:1.17
--- llvm/lib/Target/X86/X86Subtarget.cpp:1.16	Sat Jan 28 12:09:06 2006
+++ llvm/lib/Target/X86/X86Subtarget.cpp	Sat Jan 28 12:23:48 2006
@@ -139,12 +139,6 @@
   // 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;
   






More information about the llvm-commits mailing list