[InstCombine] Make MatchBSwap also match bit reversals
[oota-llvm.git] / lib / Transforms / InstCombine / InstCombineInternal.h
index 1bb3ad6c53498d51ee9a59bef0b420ace31f9595..534f670081506c48e2aa41b7e0801143735da51a 100644 (file)
@@ -556,7 +556,7 @@ private:
   Value *InsertRangeTest(Value *V, Constant *Lo, Constant *Hi, bool isSigned,
                          bool Inside);
   Instruction *PromoteCastOfAllocation(BitCastInst &CI, AllocaInst &AI);
-  Instruction *MatchBSwap(BinaryOperator &I);
+  Instruction *MatchBSwapOrBitReverse(BinaryOperator &I);
   bool SimplifyStoreAtEndOfBlock(StoreInst &SI);
   Instruction *SimplifyMemTransfer(MemIntrinsic *MI);
   Instruction *SimplifyMemSet(MemSetInst *MI);