summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineCSE.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2012-02-05 14:20:11 +0000
committerDuncan Sands <baldrick@free.fr>2012-02-05 14:20:11 +0000
commitae22c60f9024fc217227935d10d4dec155ccb7b2 (patch)
tree8ab0615a90f19456cb397a6f83c3756f86a3a50b /llvm/lib/CodeGen/MachineCSE.cpp
parentefabc2572f141b822f8b4e3bbd7a198a02ee7ccb (diff)
downloadbcm5719-llvm-ae22c60f9024fc217227935d10d4dec155ccb7b2.tar.gz
bcm5719-llvm-ae22c60f9024fc217227935d10d4dec155ccb7b2.zip
Persuade GCC that there is nothing worth warning about here (there isn't).
llvm-svn: 149834
Diffstat (limited to 'llvm/lib/CodeGen/MachineCSE.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineCSE.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MachineCSE.cpp b/llvm/lib/CodeGen/MachineCSE.cpp
index 0715f28ca13..9d46aaab8df 100644
--- a/llvm/lib/CodeGen/MachineCSE.cpp
+++ b/llvm/lib/CodeGen/MachineCSE.cpp
@@ -255,6 +255,7 @@ bool MachineCSE::PhysRegDefsReach(MachineInstr *CSMI, MachineInstr *MI,
if (I == EE) {
assert(CrossMBB && "Reaching end-of-MBB without finding MI?");
+ (void)CrossMBB;
CrossMBB = false;
NonLocal = true;
I = MBB->begin();
OpenPOWER on IntegriCloud