Logical condition reduction (#32201)
Summary:
x || ( !x && y ) <=> to x || y
Pull Request resolved: https://github.com/pytorch/pytorch/pull/32201
Differential Revision: D19429334
Pulled By: ezyang
fbshipit-source-id: 044dc46c2d9a7e180aa1795703c0097b0c7c3585