Factor some code, add these transformations:
authorChris Lattner <sabre@nondot.org>
Fri, 5 May 2006 05:51:50 +0000 (05:51 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 5 May 2006 05:51:50 +0000 (05:51 +0000)
commit35e5c14b80a732c7d061a13a3717362e936852b1
tree102c1eab90d7a46e4e1d8eb19a6e82d860349b18
parent8f7f7125e95e4fce29a4b8acbc88f708e7fae42f
Factor some code, add these transformations:

  // fold (and (trunc x), (trunc y)) -> (trunc (and x, y))
  // fold (or  (trunc x), (trunc y)) -> (trunc (or  x, y))
  // fold (xor (trunc x), (trunc y)) -> (trunc (xor x, y))

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28120 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp