projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf63734
)
remove redundant code
author
Chris Lattner
<sabre@nondot.org>
Mon, 13 Nov 2006 01:10:12 +0000
(
01:10
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 13 Nov 2006 01:10:12 +0000
(
01:10
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31697
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/BasicAliasAnalysis.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/BasicAliasAnalysis.cpp
b/lib/Analysis/BasicAliasAnalysis.cpp
index 0e7c244c022e505fe27f28fb36510198df05bdc1..ec1a72b951f5abb0c4cceab008d16aefb6594ec9 100644
(file)
--- 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<GlobalValue>(V)) {
- return GV;
}
return 0;
}