InstCombine now optimizes vector udiv by power of 2 to shifts
authorPete Cooper <peter_cooper@apple.com>
Mon, 7 Nov 2011 23:04:49 +0000 (23:04 +0000)
committerPete Cooper <peter_cooper@apple.com>
Mon, 7 Nov 2011 23:04:49 +0000 (23:04 +0000)
commita29fc806fe02cea76f7896b7e344bb919dd7ac25
treeb72cce46844c98a3b20f8cf768908c7683eef16f
parent1b4f6f2532e9a6a99fcab5fde5b4a2187c9c9c2b
InstCombine now optimizes vector udiv by power of 2 to shifts

Fixes r8429

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144036 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
test/CodeGen/X86/vec_udiv_to_shift.ll [new file with mode: 0644]