diff options
author | Jeff Cohen <jeffc@jolt-lang.org> | 2005-01-03 16:34:19 +0000 |
---|---|---|
committer | Jeff Cohen <jeffc@jolt-lang.org> | 2005-01-03 16:34:19 +0000 |
commit | 68f28730b7de0d23c29030dfc887eb377e9449af (patch) | |
tree | 424f0c0a063232e77b759c841ec97bfb368ac9b1 /llvm/lib/Target/X86/X86TargetMachine.cpp | |
parent | f309b441dc213f2259166a9ee3c24f578c153499 (diff) | |
download | bcm5719-llvm-68f28730b7de0d23c29030dfc887eb377e9449af.tar.gz bcm5719-llvm-68f28730b7de0d23c29030dfc887eb377e9449af.zip |
Revert elimination of global variable hack... still needed.
llvm-svn: 19273
Diffstat (limited to 'llvm/lib/Target/X86/X86TargetMachine.cpp')
-rw-r--r-- | llvm/lib/Target/X86/X86TargetMachine.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86TargetMachine.cpp b/llvm/lib/Target/X86/X86TargetMachine.cpp index 24406d5be97..0e3eea43924 100644 --- a/llvm/lib/Target/X86/X86TargetMachine.cpp +++ b/llvm/lib/Target/X86/X86TargetMachine.cpp @@ -27,6 +27,13 @@ using namespace llvm; X86VectorEnum llvm::X86Vector = NoSSE; +/// X86TargetMachineModule - Note that this is used on hosts that cannot link +/// in a library unless there are references into the library. In particular, +/// it seems that it is not possible to get things to work on Win32 without +/// this. Though it is unused, do not remove it. +extern "C" int X86TargetMachineModule; +int X86TargetMachineModule = 0; + namespace { cl::opt<bool> NoSSAPeephole("disable-ssa-peephole", cl::init(true), cl::desc("Disable the ssa-based peephole optimizer " |