File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
llvm/include/llvm/Analysis Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -566,8 +566,6 @@ class AAResults {
566
566
AliasResult alias (const MemoryLocation &LocA, const MemoryLocation &LocB,
567
567
AAQueryInfo &AAQI, const Instruction *CtxI = nullptr );
568
568
569
- bool pointsToConstantMemory (const MemoryLocation &Loc, AAQueryInfo &AAQI,
570
- bool OrLocal = false );
571
569
ModRefInfo getModRefInfoMask (const MemoryLocation &Loc, AAQueryInfo &AAQI,
572
570
bool IgnoreLocals = false );
573
571
ModRefInfo getModRefInfo (const Instruction *I, const CallBase *Call2,
@@ -635,7 +633,7 @@ class BatchAAResults {
635
633
return AA.alias (LocA, LocB, AAQI);
636
634
}
637
635
bool pointsToConstantMemory (const MemoryLocation &Loc, bool OrLocal = false ) {
638
- return AA.pointsToConstantMemory (Loc, AAQI, OrLocal);
636
+ return isNoModRef ( AA.getModRefInfoMask (Loc, AAQI, OrLocal) );
639
637
}
640
638
ModRefInfo getModRefInfoMask (const MemoryLocation &Loc,
641
639
bool IgnoreLocals = false ) {
You can’t perform that action at this time.
0 commit comments