mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-19 02:42:58 +00:00
Fix Bug: BasicAA/2003-05-21-GEP-Problem.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6270 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6011733e79
commit
9098f64ccc
@ -290,7 +290,7 @@ BasicAliasAnalysis::CheckGEPInstructions(GetElementPtrInst *GEP1, unsigned G1S,
|
||||
if (isa<Constant>(Op2))
|
||||
Indices2.push_back((Value*)Op2);
|
||||
else // Conservatively assume the minimum value for this index
|
||||
Indices2.push_back(Constant::getNullValue(Op1->getType()));
|
||||
Indices2.push_back(Constant::getNullValue(Op2->getType()));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user