Reland "[InstCombine] Add simplification of two logical and/ors"
authorJuneyoung Lee <aqjune@gmail.com>
Tue, 23 Mar 2021 04:46:19 +0000 (13:46 +0900)
committerJuneyoung Lee <aqjune@gmail.com>
Tue, 23 Mar 2021 07:24:50 +0000 (16:24 +0900)
commit960a7673683f86e08d30ab815996e4248be77d5b
treec71e077153fd9b55a32b920931e3e97d50b1cd2c
parent3c81822ec5d2375d243ef2d43468807aa96383ec
Reland "[InstCombine] Add simplification of two logical and/ors"

This relands 07c3b97e184d5bd828b8a680cdce46e73f3db9fc (D96945) which was reverted by
commit f49354838e526671e616d16199ebdee653b9f6fa.
The two-stage compilation successfully tests passes on my machine.
llvm/lib/Analysis/InstructionSimplify.cpp
llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
llvm/test/Transforms/InstCombine/select-safe-bool-transforms.ll
llvm/test/Transforms/SimplifyCFG/merge-cond-stores.ll