aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Local.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2017-12-15 18:25:13 +0000
committerSanjay Patel <spatel@rotateright.com>2017-12-15 18:25:13 +0000
commitc722e26549a9b60f6177c96ce5e3407b98cd4a5e (patch)
tree6e890cfd007a42b204461c31492f0bce6f679e9b /llvm/lib/Transforms/Utils/Local.cpp
parent22f0742dda8da93de7c6585c9129c81483346b68 (diff)
downloadllvm-c722e26549a9b60f6177c96ce5e3407b98cd4a5e.zip
llvm-c722e26549a9b60f6177c96ce5e3407b98cd4a5e.tar.gz
llvm-c722e26549a9b60f6177c96ce5e3407b98cd4a5e.tar.bz2
fix typo in comment and remove inaccurate comment; NFC
llvm-svn: 320838
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/Local.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Utils/Local.cpp b/llvm/lib/Transforms/Utils/Local.cpp
index 3ee2d04..a1961eec 100644
--- a/llvm/lib/Transforms/Utils/Local.cpp
+++ b/llvm/lib/Transforms/Utils/Local.cpp
@@ -2143,8 +2143,6 @@ static bool bitTransformIsCorrectForBitReverse(unsigned From, unsigned To,
return From == BitWidth - To - 1;
}
-/// Given an OR instruction, check to see if this is a bitreverse
-/// idiom. If so, insert the new intrinsic and return true.
bool llvm::recognizeBSwapOrBitReverseIdiom(
Instruction *I, bool MatchBSwaps, bool MatchBitReversals,
SmallVectorImpl<Instruction *> &InsertedInsts) {