]> granicus.if.org Git - llvm/commit
[InstCombine] Remove support for BITWISE_OP(CONSTANT, BSWAP(x)) -> BSWAP(OP(BSWAP...
authorCraig Topper <craig.topper@intel.com>
Mon, 3 Jul 2017 05:54:13 +0000 (05:54 +0000)
committerCraig Topper <craig.topper@intel.com>
Mon, 3 Jul 2017 05:54:13 +0000 (05:54 +0000)
commitd8d495196ebcea6e979ba4dc7214a323d7b51ade
tree5f68cf8f0b342ef697eeed30cffe199de005ae6c
parente78ec11a0f936671b0cc700269749a8b8a04554c
[InstCombine] Remove support for BITWISE_OP(CONSTANT, BSWAP(x)) -> BSWAP(OP(BSWAP(CONSTANT), x)).

Constants were already canonicalized to the right hand side before we got here.

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