The maximum power of 2 dividing a power of 2 is itself. This occurs
authorDuncan Sands <baldrick@free.fr>
Wed, 26 Oct 2011 20:55:21 +0000 (20:55 +0000)
committerDuncan Sands <baldrick@free.fr>
Wed, 26 Oct 2011 20:55:21 +0000 (20:55 +0000)
commitdd3149d57977d0632cfaf24290dd93416fb2a0ef
tree474b791ded4b0b4e186663009e133000d2c45814
parent1832f4d94eb292d63824eaa043118ed6cc61389b
The maximum power of 2 dividing a power of 2 is itself.  This occurs
in 403.gcc and was spotted by my super-optimizer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143054 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/ValueTracking.h
lib/Analysis/InstructionSimplify.cpp
lib/Analysis/ValueTracking.cpp
test/Transforms/InstSimplify/AndOrXor.ll [new file with mode: 0644]