OSDN Git Service

[InstSimplify] Fold another Select with And/Or pattern
authorDavid Bolvansky <david.bolvansky@gmail.com>
Tue, 31 Jul 2018 14:17:15 +0000 (14:17 +0000)
committerDavid Bolvansky <david.bolvansky@gmail.com>
Tue, 31 Jul 2018 14:17:15 +0000 (14:17 +0000)
commitf241788fa53efc925312f5eb1b2630f76675e2f5
treeb2b21b80f8dccf8b42aaec0349234a7a07671999
parent48e2f473006b619a8e3ab07daf5e307488e45b3c
[InstSimplify] Fold another Select with And/Or pattern

Summary: Proof: https://rise4fun.com/Alive/L5J

Reviewers: lebedev.ri, spatel

Reviewed By: spatel

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D49975

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@338383 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/InstructionSimplify.cpp
test/Transforms/InstSimplify/select-and-cmp.ll
test/Transforms/InstSimplify/select-or-cmp.ll