kripken/emscripten — pull request #1204 by sunfishcode (2013-05-23 17:57:20+00:00)
Title: Optimize (x&A)<<B>>B.

Add an optimization to simplifyExpressionsPre to replace (x&A)<>B with X&A
if possible. This comes up frequently in C++ with bool variables.