diff options
author | Sanjoy Das <sanjoy@playingwithpointers.com> | 2015-04-21 20:42:50 +0000 |
---|---|---|
committer | Sanjoy Das <sanjoy@playingwithpointers.com> | 2015-04-21 20:42:50 +0000 |
commit | 7be03d69e5439b8347083b34814b6ac3a4bb095c (patch) | |
tree | 3299a9835f26fbb6e48344c2121f04760220391a /llvm/lib/Transforms | |
parent | aa861aa48354ca6bd2acc37e7de0990a18724b5b (diff) | |
download | llvm-7be03d69e5439b8347083b34814b6ac3a4bb095c.zip llvm-7be03d69e5439b8347083b34814b6ac3a4bb095c.tar.gz llvm-7be03d69e5439b8347083b34814b6ac3a4bb095c.tar.bz2 |
[LSR][NFC] Remove a stale comment.
The comment was made stale in r171735.
llvm-svn: 235414
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r-- | llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp index 099f227..fef5053 100644 --- a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp +++ b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp @@ -1383,9 +1383,6 @@ static bool isAMCompletelyFolded(const TargetTransformInfo &TTI, case LSRUse::Address: return TTI.isLegalAddressingMode(AccessTy, BaseGV, BaseOffset, HasBaseReg, Scale); - // Otherwise, just guess that reg+reg addressing is legal. - //return ; - case LSRUse::ICmpZero: // There's not even a target hook for querying whether it would be legal to // fold a GV into an ICmp. |