commit | 7d2d5e47576f3eeac586f9555f88d427a5d48760 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Sat Jun 19 21:30:18 2010 +0000 |
committer | Dan Gohman <gohman@apple.com> | Sat Jun 19 21:30:18 2010 +0000 |
tree | 1bfdb749e118591a61248b32d53f68bf5d6ed1fc | |
parent | 79b3825e1f4393d92073cba381ac609a0a806d62 [diff] |
Add a TODO comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106397 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp index 0d4fd2f..72b8b8f 100644 --- a/lib/Transforms/Scalar/LoopStrengthReduce.cpp +++ b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
@@ -1835,6 +1835,8 @@ NewMaxOffset = NewOffset; } // Check for a mismatched access type, and fall back conservatively as needed. + // TODO: Be less conservative when the type is similar and can use the same + // addressing modes. if (Kind == LSRUse::Address && AccessTy != LU.AccessTy) NewAccessTy = Type::getVoidTy(AccessTy->getContext());