OSDN Git Service

[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)
commitd9bc309e9c08dd6b1db732c6b3d32ebbe6683851
tree5d93c957d18a3157ca315bd55204eacafd778a95
parent0eba98aa7d65212850b2ec498d2f13ef8fa1e0f5
[DAGCombiner] Enable (urem x, (shl pow2, y)) -> (and x, (add (shl pow2, y), -1)) combine for splatted vectors

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285129 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/X86/combine-urem.ll