projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dabbc98
)
Is64Bit reflects the capability of the chip, not an aspect of the target os
author
Chris Lattner
<sabre@nondot.org>
Sat, 28 Jan 2006 18:23:48 +0000
(18:23 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 28 Jan 2006 18:23:48 +0000
(18:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25749
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86Subtarget.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86Subtarget.cpp
b/lib/Target/X86/X86Subtarget.cpp
index d8ba88e9e99c767479f27a5437f5dc917fdb3af2..a0d26b0fe18645a5fe3be14a7e9e05320c20daf4 100644
(file)
--- 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;