diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2015-06-17 07:21:38 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2015-06-17 07:21:38 +0000 |
| commit | ecbd16829a4d793983a4b2f3670c3c44801a07f2 (patch) | |
| tree | b04b4975da863f812773f3f2920de42569405e03 /llvm/lib/Transforms/IPO | |
| parent | ac80dc753228af5f1b415bc9fa9834aeba19122b (diff) | |
| download | bcm5719-llvm-ecbd16829a4d793983a4b2f3670c3c44801a07f2.tar.gz bcm5719-llvm-ecbd16829a4d793983a4b2f3670c3c44801a07f2.zip | |
[PM/AA] Remove the UnknownSize static member from AliasAnalysis.
This is now living in MemoryLocation, which is what it pertains to. It
is also an enum there rather than a static data member which is left
never defined.
llvm-svn: 239886
Diffstat (limited to 'llvm/lib/Transforms/IPO')
| -rw-r--r-- | llvm/lib/Transforms/IPO/FunctionAttrs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/FunctionAttrs.cpp b/llvm/lib/Transforms/IPO/FunctionAttrs.cpp index f4a21799997..bb5e64aef33 100644 --- a/llvm/lib/Transforms/IPO/FunctionAttrs.cpp +++ b/llvm/lib/Transforms/IPO/FunctionAttrs.cpp @@ -208,7 +208,7 @@ bool FunctionAttrs::AddReadAttrs(const CallGraphSCC &SCC) { AAMDNodes AAInfo; I->getAAMetadata(AAInfo); - MemoryLocation Loc(Arg, AliasAnalysis::UnknownSize, AAInfo); + MemoryLocation Loc(Arg, MemoryLocation::UnknownSize, AAInfo); if (!AA->pointsToConstantMemory(Loc, /*OrLocal=*/true)) { if (MRB & AliasAnalysis::Mod) // Writes non-local memory. Give up. |

