mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Revert 102941, we're going to do this via attr and can just
hack the code to turn it off when debugging. llvm-svn: 103083
This commit is contained in:
parent
f4d5520f79
commit
e7a5ba0051
@ -20,14 +20,8 @@
|
||||
#include "llvm/Support/FormattedStream.h"
|
||||
#include "llvm/Target/TargetOptions.h"
|
||||
#include "llvm/Target/TargetRegistry.h"
|
||||
#include "llvm/Support/CommandLine.h"
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
static cl::opt<bool> DisableSSEDomain("disable-sse-domain",
|
||||
cl::init(false), cl::Hidden,
|
||||
cl::desc("Disable SSE Domain Fixing"));
|
||||
|
||||
static MCAsmInfo *createMCAsmInfo(const Target &T, StringRef TT) {
|
||||
Triple TheTriple(TT);
|
||||
switch (TheTriple.getOS()) {
|
||||
@ -178,8 +172,7 @@ bool X86TargetMachine::addPostRegAlloc(PassManagerBase &PM,
|
||||
|
||||
bool X86TargetMachine::addPreEmitPass(PassManagerBase &PM,
|
||||
CodeGenOpt::Level OptLevel) {
|
||||
if (OptLevel != CodeGenOpt::None && Subtarget.hasSSE2() &&
|
||||
!DisableSSEDomain) {
|
||||
if (OptLevel != CodeGenOpt::None && Subtarget.hasSSE2()) {
|
||||
PM.add(createSSEDomainFixPass());
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user