diff --git a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp index 11f218793476..76afe62768a0 100644 --- a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp +++ b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp @@ -2238,7 +2238,7 @@ void LSRInstance::GenerateTruncates(LSRUse &LU, unsigned LUIdx, namespace { -/// WorkItem - Helper class for GenerateConstantOffsetReuse. It's used to +/// WorkItem - Helper class for GenerateCrossUseConstantOffsets. It's used to /// defer modifications so that the search phase doesn't have to worry about /// the data structures moving underneath it. struct WorkItem {