[llvm-commits] [llvm] r144777 - /llvm/trunk/lib/Target/X86/X86TargetMachine.cpp
Craig Topper
craig.topper at gmail.com
Tue Nov 15 21:02:04 PST 2011
Author: ctopper
Date: Tue Nov 15 23:02:04 2011
New Revision: 144777
URL: http://llvm.org/viewvc/llvm-project?rev=144777&view=rev
Log:
Remove code to enable execution dependency fix pass on VR256. VR128 is sufficient after r144636.
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=144777&r1=144776&r2=144777&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86TargetMachine.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86TargetMachine.cpp Tue Nov 15 23:02:04 2011
@@ -135,15 +135,9 @@
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) {
More information about the llvm-commits
mailing list