Remove dead variable
authorChris Lattner <sabre@nondot.org>
Tue, 25 Nov 2003 20:11:00 +0000 (20:11 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 25 Nov 2003 20:11:00 +0000 (20:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10218 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/ValueNumbering.cpp

index 191e190e20e118905cf244cac5a821f9a5cc4309..5807546b08a7cd2b18d55b043fca00c6bba1e72c 100644 (file)
@@ -180,7 +180,6 @@ static bool IdenticalComplexInst(const Instruction *I1, const Instruction *I2) {
 
 void BVNImpl::visitGetElementPtrInst(GetElementPtrInst &I) {
   Value *Op = I.getOperand(0);
-  Function *F = I.getParent()->getParent();
   
   for (Value::use_iterator UI = Op->use_begin(), UE = Op->use_end();
        UI != UE; ++UI)