[PATCH] D21513: [CFLAA] Try to be less conservative on more functions
Jia Chen via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 20 07:30:23 PDT 2016
grievejia updated this revision to Diff 61251.
grievejia marked an inline comment as done.
grievejia added a comment.
Change isInterposable() to !hasExactDefinition()
http://reviews.llvm.org/D21513
Files:
lib/Analysis/CFLAliasAnalysis.cpp
Index: lib/Analysis/CFLAliasAnalysis.cpp
===================================================================
--- lib/Analysis/CFLAliasAnalysis.cpp
+++ lib/Analysis/CFLAliasAnalysis.cpp
@@ -368,7 +368,7 @@
}
static bool isFunctionExternal(Function *Fn) {
- return Fn->isDeclaration() || !Fn->hasLocalLinkage();
+ return Fn->isDeclaration() || !Fn->hasExactDefinition();
}
bool tryInterproceduralAnalysis(CallSite CS,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21513.61251.patch
Type: text/x-patch
Size: 438 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160620/3d7d788b/attachment.bin>
More information about the llvm-commits
mailing list