[SimplifyCFG] Update FoldTwoEntryPHINode to handle and/or of select and binop equally
authorJuneyoung Lee <aqjune@gmail.com>
Mon, 1 Mar 2021 04:28:18 +0000 (13:28 +0900)
committerJuneyoung Lee <aqjune@gmail.com>
Mon, 1 Mar 2021 04:34:51 +0000 (13:34 +0900)
commit5419b671375c46299ff1da6c929859040e7beaf5
tree3a3d08ec34ff24296107d44c932c5e0ca17f97be
parent06c5119c76e9fa4f8be6728ae26832d3ebc70244
[SimplifyCFG] Update FoldTwoEntryPHINode to handle and/or of select and binop equally

This is a minor change that fixes FoldTwoEntryPHINode to handle
phis with and/ors of select form and binop form equally.
llvm/include/llvm/IR/PatternMatch.h
llvm/lib/Transforms/Utils/SimplifyCFG.cpp