mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-16 11:30:51 +00:00
Fix chaining in TBAA's pointsToConstantMemory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117314 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9c11be222c
commit
0b2136927d
@ -225,7 +225,7 @@ bool TypeBasedAliasAnalysis::pointsToConstantMemory(const Location &Loc) {
|
||||
return AliasAnalysis::pointsToConstantMemory(Loc);
|
||||
|
||||
const MDNode *M = Loc.TBAATag;
|
||||
if (!M) return false;
|
||||
if (!M) return AliasAnalysis::pointsToConstantMemory(Loc);
|
||||
|
||||
// If this is an "immutable" type, we can assume the pointer is pointing
|
||||
// to constant memory.
|
||||
|
Loading…
Reference in New Issue
Block a user