OSDN Git Service

[InstSimplify] Remove some redundant code from InstSimplify now that llvm::isKnownNon...
authorCraig Topper <craig.topper@gmail.com>
Tue, 6 Jun 2017 07:13:17 +0000 (07:13 +0000)
committerCraig Topper <craig.topper@gmail.com>
Tue, 6 Jun 2017 07:13:17 +0000 (07:13 +0000)
commit8d7f132f479b527eab9ebcf5c6b3c91040e5a622
tree458206a94f818f172f953de313438ce640b95f06
parent275adc9e3778f08810f63d1c8f817b913261a49c
[InstSimplify] Remove some redundant code from InstSimplify now that llvm::isKnownNonEqual handles vectors.

isKnownNonEqual is called a little earlier in this function and can handle the case that we were checking here as well as more complex cases.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304775 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/InstructionSimplify.cpp