[LoopVectorize] Fix rebase glitch in r227751

LoopVectorizationLegality::{getNumLoads,getNumStores} should forward to
LoopAccessAnalysis now.

Thanks to Takumi for noticing this!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227992 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Adam Nemet
2015-02-03 17:59:53 +00:00
parent ef46291cb3
commit 3fe93fe70a
2 changed files with 6 additions and 6 deletions

View File

@@ -159,7 +159,9 @@ public:
/// Returns true if the value V is uniform within the loop.
bool isUniform(Value *V);
unsigned getMaxSafeDepDistBytes() { return MaxSafeDepDistBytes; }
unsigned getMaxSafeDepDistBytes() const { return MaxSafeDepDistBytes; }
unsigned getNumStores() const { return NumStores; }
unsigned getNumLoads() const { return NumLoads;}
private:
void emitAnalysis(VectorizationReport &Message);