Codegen x < 0 | y < 0 as (x|y) < 0. This allows us to compile this to:
authorChris Lattner <sabre@nondot.org>
Mon, 25 Apr 2005 21:03:25 +0000 (21:03 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 25 Apr 2005 21:03:25 +0000 (21:03 +0000)
commit6ea927930433f5e22acd2316e34e7c7e48ac1a60
treeadfcb1aa85f7e54c043d3a0f5b2f8ab0b157da38
parent91bd25d9dfe050ec0cc549f2f5d2e83f91739732
Codegen x < 0 | y < 0 as (x|y) < 0.  This allows us to compile this to:

_foo:
        or r2, r4, r3
        srwi r3, r2, 31
        blr

instead of:

_foo:
        srwi r2, r4, 31
        srwi r3, r3, 31
        or r3, r2, r3
        blr

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21544 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAG.cpp