mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-02 00:37:09 +00:00
Remove code to enable execution dependency fix pass on VR256. VR128 is sufficient after r144636.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144777 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0a405ae78a
commit
2713d045e3
@ -135,15 +135,9 @@ bool X86TargetMachine::addPostRegAlloc(PassManagerBase &PM,
|
||||
bool X86TargetMachine::addPreEmitPass(PassManagerBase &PM,
|
||||
CodeGenOpt::Level OptLevel) {
|
||||
bool ShouldPrint = false;
|
||||
if (OptLevel != CodeGenOpt::None) {
|
||||
if (Subtarget.hasXMMInt()) {
|
||||
PM.add(createExecutionDependencyFixPass(&X86::VR128RegClass));
|
||||
ShouldPrint = true;
|
||||
}
|
||||
if (Subtarget.hasAVX()) {
|
||||
PM.add(createExecutionDependencyFixPass(&X86::VR256RegClass));
|
||||
ShouldPrint = true;
|
||||
}
|
||||
if (OptLevel != CodeGenOpt::None && Subtarget.hasXMMInt()) {
|
||||
PM.add(createExecutionDependencyFixPass(&X86::VR128RegClass));
|
||||
ShouldPrint = true;
|
||||
}
|
||||
|
||||
if (Subtarget.hasAVX() && UseVZeroUpper) {
|
||||
|
Loading…
Reference in New Issue
Block a user