Teach InstructionSimplify to fold (A & B) & A -> A & B and (A | B) | A -> A | B.
Reassociate does this but it doesn't catch all cases (e.g. if the operands are i1). llvm-svn: 113651
Loading
Please register or sign in to comment
Reassociate does this but it doesn't catch all cases (e.g. if the operands are i1). llvm-svn: 113651