diff options
author | Chad Rosier <mcrosier@codeaurora.org> | 2016-05-25 16:22:14 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@codeaurora.org> | 2016-05-25 16:22:14 +0000 |
commit | a00df49dc5c1d94b04e9c4271018c6aaa97d7426 (patch) | |
tree | 75ea43bbc503f4bc4ba19261266a331447b3e0ba /llvm/lib/Transforms/InstCombine/InstCombineInternal.h | |
parent | 7663d3be15c21158ebf17941faa75b1bd8ee830d (diff) | |
download | bcm5719-llvm-a00df49dc5c1d94b04e9c4271018c6aaa97d7426.tar.gz bcm5719-llvm-a00df49dc5c1d94b04e9c4271018c6aaa97d7426.zip |
Clarify that we match BSwap in InstCombine and BitReverse in CGP. NFC.
Also, rename recognizeBitReverseOrBSwapIdiom to recognizeBSwapOrBitReverseIdiom,
so the ordering of the MatchBSwaps and MatchBitReversals arguments are
consistent with the function name.
llvm-svn: 270715
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineInternal.h')
-rw-r--r-- | llvm/lib/Transforms/InstCombine/InstCombineInternal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineInternal.h b/llvm/lib/Transforms/InstCombine/InstCombineInternal.h index e66c89b500b..326029d8187 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombineInternal.h +++ b/llvm/lib/Transforms/InstCombine/InstCombineInternal.h @@ -563,7 +563,7 @@ private: Value *InsertRangeTest(Value *V, Constant *Lo, Constant *Hi, bool isSigned, bool Inside); Instruction *PromoteCastOfAllocation(BitCastInst &CI, AllocaInst &AI); - Instruction *MatchBSwapOrBitReverse(BinaryOperator &I); + Instruction *MatchBSwap(BinaryOperator &I); bool SimplifyStoreAtEndOfBlock(StoreInst &SI); Instruction *SimplifyMemTransfer(MemIntrinsic *MI); Instruction *SimplifyMemSet(MemSetInst *MI); |