<div dir="ltr"><div>Hi,</div><div><br></div><div>This is regarding a TODO mentioned in getIdentityValue function in InstructionCombining.cpp file.</div><div><br></div><div>//TODO: We can handle other cases e.g. Instruction::And, Instruction::Or etc.</div><div><br></div><div>I wanted to know what could be the use cases of implementing these. When I tried implementing these and wrote test cases for the same, the test cases would be optimized in InstructionSimplify before hitting the code in Instruction Combining. Can anyone suggest me where I might be going wrong.</div><div><br></div><div>Thanks,</div><div>Mayur</div></div>