[InstCombine] Adjusting bswap pattern matching to hold for And/Shift mixed case
authorOmer Paparo Bivas <omer.paparo.bivas@intel.com>
Tue, 1 May 2018 12:25:46 +0000 (12:25 +0000)
committerOmer Paparo Bivas <omer.paparo.bivas@intel.com>
Tue, 1 May 2018 12:25:46 +0000 (12:25 +0000)
commit82ef8e19ef1dc06e7dde6a07ed035bf42213af07
tree17f87e08cfd6c3d82bb9d7762cb89b201b95f611
parent6f710a6440d45b1a5ab08a21ed7f93ac0a1f8a40
[InstCombine] Adjusting bswap pattern matching to hold for And/Shift mixed case

Differential Revision: https://reviews.llvm.org/D45731

Change-Id: I85d4226504e954933c41598327c91b2d08192a9d
llvm-svn: 331257
llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
llvm/test/Transforms/InstCombine/bswap.ll