From c2e6801cc7c85deaaa6bc02186e2efa1bba065fe Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 13 Nov 2006 01:10:12 +0000 Subject: [PATCH] remove redundant code git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31697 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/BasicAliasAnalysis.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/Analysis/BasicAliasAnalysis.cpp b/lib/Analysis/BasicAliasAnalysis.cpp index 0e7c244c022..ec1a72b951f 100644 --- a/lib/Analysis/BasicAliasAnalysis.cpp +++ b/lib/Analysis/BasicAliasAnalysis.cpp @@ -152,8 +152,6 @@ static const Value *getUnderlyingObject(const Value *V) { if (CE->getOpcode() == Instruction::Cast || CE->getOpcode() == Instruction::GetElementPtr) return getUnderlyingObject(CE->getOperand(0)); - } else if (const GlobalValue *GV = dyn_cast(V)) { - return GV; } return 0; } -- 2.34.1