OSDN Git Service

[InstCombine] Support BITWISE_OP( BSWAP(x), CONSTANT ) -> BSWAP( BITWISE_OP(x, BSWAP...
authorCraig Topper <craig.topper@intel.com>
Mon, 3 Jul 2017 05:54:15 +0000 (05:54 +0000)
committerCraig Topper <craig.topper@intel.com>
Mon, 3 Jul 2017 05:54:15 +0000 (05:54 +0000)
commit5507b53e8d0f4ffa0b7d639715200be0f0af509d
tree9b26466d9cef053eb8a87a6403f7f9c38a034271
parentb4277c6de7063a991d95b54a1b8e8129646c726a
[InstCombine] Support BITWISE_OP( BSWAP(x), CONSTANT ) -> BSWAP( BITWISE_OP(x, BSWAP(CONSTANT) ) ) for splat vectors.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307002 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
test/Transforms/InstCombine/bswap-fold.ll