Look pass zext to strength reduce an udiv. Patch by David Majnemer. rdar://11721329
authorEvan Cheng <evan.cheng@apple.com>
Thu, 21 Jun 2012 22:52:49 +0000 (22:52 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 21 Jun 2012 22:52:49 +0000 (22:52 +0000)
commit2a5422b1a6955977d05af48222c86c77c7549484
tree8615d9db28212cc9b74bb852b0b2baeca27a471d
parent5791df830dd8bc91f44aff98446d5f74a96ae185
Look pass zext to strength reduce an udiv. Patch by David Majnemer. rdar://11721329

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158946 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
test/Transforms/InstCombine/div-shift.ll [new file with mode: 0644]
test/Transforms/InstCombine/sdiv-shift.ll [deleted file]