commit | 891ec6d69ff375900d0c8a1cf8b806a8318c9a1f | [log] [tgz] |
---|---|---|
author | David Majnemer <david.majnemer@gmail.com> | Wed Dec 17 01:54:33 2014 +0000 |
committer | David Majnemer <david.majnemer@gmail.com> | Wed Dec 17 01:54:33 2014 +0000 |
tree | 9dff26f95d58d470dc23a5abaf279a21f36d34bf | |
parent | 9451a382ed38101a0f46b60887d5db7320d50a35 [diff] |
InstSimplify: shl nsw/nuw undef, %V -> undef We can always choose an value for undef which might cause %V to shift out an important bit except for one case, when %V is zero. However, shl behaves like an identity function when the right hand side is zero. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224405 91177308-0d34-0410-b5e6-96231b3b80d8