OSDN Git Service

Fix a bug where we incorrectly turned '(X & 0) == 0' into '(X & 0) >> -1',
authorChris Lattner <sabre@nondot.org>
Fri, 13 Oct 2006 22:46:18 +0000 (22:46 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 13 Oct 2006 22:46:18 +0000 (22:46 +0000)
commitdc78cbf45794739ee0fbc8e0c0597f97b5e94df6
treecc6d6bad36c05893708c23e447c17fb912642370
parentc50e2bcdf7bff1f9681ab80e52691f274950fab5
Fix a bug where we incorrectly turned '(X & 0) == 0' into '(X & 0) >> -1',
which is undefined.  "0" isn't a power of 2.

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