DAGCombine: fold (or (and X, M), (and X, N)) -> (and X, (or M, N))
authorTim Northover <tnorthover@apple.com>
Wed, 21 Jan 2015 15:43:28 +0000 (15:43 +0000)
committerTim Northover <tnorthover@apple.com>
Wed, 21 Jan 2015 15:43:28 +0000 (15:43 +0000)
commit85cd2791c9f478fb8b0150185e5c2cf617a46f25
tree496f255dcbaad97a5393fcda03eff3bbaf4a6301
parent6d1178ca409ce738543604053f23a463ad2b3aa2
DAGCombine: fold (or (and X, M), (and X, N)) -> (and X, (or M, N))

llvm-svn: 226663
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/AArch64/or-combine.ll [new file with mode: 0644]
llvm/test/CodeGen/R600/extload.ll
llvm/test/CodeGen/X86/vselect.ll