[DAGCombiner] Enable (urem x, (shl pow2, y)) -> (and x, (add (shl pow2, y), -1))...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 25 Oct 2016 22:01:09 +0000 (22:01 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 25 Oct 2016 22:01:09 +0000 (22:01 +0000)
commitde86241a097414640d1d410e68ac3287c24d9810
tree053bd989732327536bb72d99482d7940169c040c
parent33308f92ebef0a0848997f912659c50ddf647383
[DAGCombiner] Enable (urem x, (shl pow2, y)) -> (and x, (add (shl pow2, y), -1)) combine for splatted vectors

llvm-svn: 285129
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/X86/combine-urem.ll