Skip to content

Commit f26eb31

Browse files
committed
Revert LLVM change that causes overly aggressive optimizations when
using the Fortran overloaded TBAA annotations.
1 parent b911836 commit f26eb31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Analysis/BasicAliasAnalysis.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1386,7 +1386,7 @@ AliasResult BasicAAResult::aliasGEP(const GEPOperator *GEP1, uint64_t V1Size,
13861386
// Statically, we can see that the base objects are the same, but the
13871387
// pointers have dynamic offsets which we can't resolve. And none of our
13881388
// little tricks above worked.
1389-
return MayAlias;
1389+
return PartialAlias;
13901390
}
13911391

13921392
static AliasResult MergeAliasResults(AliasResult A, AliasResult B) {

0 commit comments

Comments
 (0)