commit | 74e5ef096ee53586ae8798c35d64e5974345c187 | [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 | 1e3121c80a02359fda87cf77ce1fd7bbd5066991 [diff] [blame] |
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());