[llvm-commits] [llvm] r99931 - /llvm/trunk/lib/Target/X86/X86TargetMachine.cpp
Jakob Stoklund Olesen
stoklund at 2pi.dk
Tue Mar 30 14:09:31 PDT 2010
Author: stoklund
Date: Tue Mar 30 16:09:31 2010
New Revision: 99931
URL: http://llvm.org/viewvc/llvm-project?rev=99931&view=rev
Log:
Enable -sse-domain-fix by default. What could possibly go wrong?
Modified:
llvm/trunk/lib/Target/X86/X86TargetMachine.cpp
Modified: llvm/trunk/lib/Target/X86/X86TargetMachine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86TargetMachine.cpp?rev=99931&r1=99930&r2=99931&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86TargetMachine.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86TargetMachine.cpp Tue Mar 30 16:09:31 2010
@@ -23,11 +23,6 @@
#include "llvm/Target/TargetRegistry.h"
using namespace llvm;
-static cl::opt<bool>
-SSEDomainFix("sse-domain-fix",
- cl::desc("Enable fixing of SSE execution domain"),
- cl::init(false), cl::Hidden);
-
static MCAsmInfo *createMCAsmInfo(const Target &T, StringRef TT) {
Triple TheTriple(TT);
switch (TheTriple.getOS()) {
@@ -177,7 +172,7 @@
bool X86TargetMachine::addPreEmitPass(PassManagerBase &PM,
CodeGenOpt::Level OptLevel) {
- if (SSEDomainFix && OptLevel != CodeGenOpt::None && Subtarget.hasSSE2()) {
+ if (OptLevel != CodeGenOpt::None && Subtarget.hasSSE2()) {
PM.add(createSSEDomainFixPass());
return true;
}
More information about the llvm-commits
mailing list