From 6f96b275b62529c341168d516c290189bf408a7c Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Mon, 3 Jan 2011 23:51:56 +0000 Subject: [PATCH] Fix comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122788 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/LoopIdiomRecognize.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Transforms/Scalar/LoopIdiomRecognize.cpp b/lib/Transforms/Scalar/LoopIdiomRecognize.cpp index dc55848d35f..52fc2636ac3 100644 --- a/lib/Transforms/Scalar/LoopIdiomRecognize.cpp +++ b/lib/Transforms/Scalar/LoopIdiomRecognize.cpp @@ -250,7 +250,7 @@ bool LoopIdiomRecognize::processLoopStore(StoreInst *SI, const SCEV *BECount) { const SCEVConstant *Stride = dyn_cast(StoreEv->getOperand(1)); // TODO: Could also handle negative stride here someday, that will require the - // validity check in mayLoopModRefLocation to be updated though. + // validity check in mayLoopAccessLocation to be updated though. if (Stride == 0 || StoreSize != Stride->getValue()->getValue()) return false;