Teach ScalarEvolution to recognize x^-1 in the case where non-demanded
authorDan Gohman <gohman@apple.com>
Mon, 18 May 2009 16:29:04 +0000 (16:29 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 18 May 2009 16:29:04 +0000 (16:29 +0000)
commit10978bd5918689334d44cd30e5cfe06588b6014d
tree9f773126427c2836ce187eabe01178eca72cddcb
parent0bac95e2e2044b574f3aea14a3fdb31c1b95240f
Teach ScalarEvolution to recognize x^-1 in the case where non-demanded
bits have been stripped out by instcombine.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72010 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ScalarEvolution.cpp
test/Analysis/ScalarEvolution/and-xor.ll [new file with mode: 0644]