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/Scalar/LoopIdiomRecognize.cpp | |
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/Scalar/LoopIdiomRecognize.cpp')
-rw-r--r-- | llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp b/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp index cf4d2c90b73..714ce914a8b 100644 --- a/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp +++ b/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp @@ -833,7 +833,7 @@ static bool mayLoopAccessLocation(Value *Ptr,AliasAnalysis::ModRefResult Access, // Get the location that may be stored across the loop. Since the access is // strided positively through memory, we say that the modified location starts // at the pointer and has infinite size. - uint64_t AccessSize = AliasAnalysis::UnknownSize; + uint64_t AccessSize = MemoryLocation::UnknownSize; // If the loop iterates a fixed number of times, we can refine the access size // to be exactly the size of the memset, which is (BECount+1)*StoreSize |