summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/CFLSteensAliasAnalysis.cpp
diff options
context:
space:
mode:
authorGeorge Burgess IV <george.burgess.iv@gmail.com>2016-07-22 22:30:48 +0000
committerGeorge Burgess IV <george.burgess.iv@gmail.com>2016-07-22 22:30:48 +0000
commit4ec1753ff44c283885202115f090d8cab425fe1b (patch)
treefee1e1082ef6a7642082aacd123e060c9325a420 /llvm/lib/Analysis/CFLSteensAliasAnalysis.cpp
parent716814aa8acfe7a19e60e56d41bd6920a51fdd05 (diff)
downloadbcm5719-llvm-4ec1753ff44c283885202115f090d8cab425fe1b.tar.gz
bcm5719-llvm-4ec1753ff44c283885202115f090d8cab425fe1b.zip
[CFLAA] Add more offset-sensitivity tracking.
This patch teaches FunctionInfo about offsets. Like the last patch, this one doesn't introduce any visible functionality change (the core algorithm knows nothing about offsets; they're just plumbed through). Tests will come when we start acting differently because of the offsets. Patch by Jia Chen. (N.B. I made a tiny change to Jia's patch to avoid warnings by GCC: I put DenseMapInfo specializations in the `llvm` namespace. Only realized that those appeared when compiling locally. :) ) Differential Revision: https://reviews.llvm.org/D22634 llvm-svn: 276486
Diffstat (limited to 'llvm/lib/Analysis/CFLSteensAliasAnalysis.cpp')
-rw-r--r--llvm/lib/Analysis/CFLSteensAliasAnalysis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/CFLSteensAliasAnalysis.cpp b/llvm/lib/Analysis/CFLSteensAliasAnalysis.cpp
index d816822aaae..9b211540f4e 100644
--- a/llvm/lib/Analysis/CFLSteensAliasAnalysis.cpp
+++ b/llvm/lib/Analysis/CFLSteensAliasAnalysis.cpp
@@ -153,7 +153,7 @@ CFLSteensAAResult::FunctionInfo::FunctionInfo(
if (Itr != InterfaceMap.end()) {
if (CurrValue != Itr->second)
Summary.RetParamRelations.push_back(
- ExternalRelation{CurrValue, Itr->second});
+ ExternalRelation{CurrValue, Itr->second, UnknownOffset});
break;
}
OpenPOWER on IntegriCloud