aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-07-09 20:43:09 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-07-09 20:43:09 +0000
commit9c50e8b89076eacf8eb588449d5425cb9a755e9e (patch)
treef83bf2d06d1904bf869901e290fb164d7ecfd910 /lib
parent90fc0f4443726e8be01c2b1ce46bdf75632a1e26 (diff)
downloadexternal_llvm-9c50e8b89076eacf8eb588449d5425cb9a755e9e.zip
external_llvm-9c50e8b89076eacf8eb588449d5425cb9a755e9e.tar.gz
external_llvm-9c50e8b89076eacf8eb588449d5425cb9a755e9e.tar.bz2
Fix a few tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108011 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/X86/X86InstrInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86InstrInfo.cpp b/lib/Target/X86/X86InstrInfo.cpp
index bd3759d..cda31db 100644
--- a/lib/Target/X86/X86InstrInfo.cpp
+++ b/lib/Target/X86/X86InstrInfo.cpp
@@ -2498,7 +2498,7 @@ X86InstrInfo::foldMemoryOperandImpl(MachineFunction &MF,
}
// No fusion
- if (PrintFailedFusing)
+ if (PrintFailedFusing && !MI->isCopy())
dbgs() << "We failed to fuse operand " << i << " in " << *MI;
return NULL;
}