Skip to content
Commit fdbf2bb4 authored by Sanjay Patel's avatar Sanjay Patel
Browse files

[InstSimplify] (x || y) && (x || !y) --> x

https://alive2.llvm.org/ce/z/4BE33w

This is the logical (select-form) equivalent of the bitwise logic fold:
e36d351d

This is another part of solving the regression from:
https://llvm.org/PR52077
parent 14d76a37
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment