diff options
author | Dan Gohman <sunfish@google.com> | 2013-07-01 17:29:45 -0700 |
---|---|---|
committer | Dan Gohman <sunfish@google.com> | 2013-07-01 17:29:45 -0700 |
commit | 0a2260ada3aa52de22168396b72de8851d3ca415 (patch) | |
tree | 4141332d987b0f5572ebf3856741ec0af6b49a80 /tools/shared.py | |
parent | 01708b7529bc4305272277c38c8f6c91ad27e367 (diff) |
Optimize (x<y)&1
Add an optimization to simplifyExpressionsPre to replace (x<y)&1 with x<y
if possible. This comes up frequently in C++ with bool variables.
Diffstat (limited to 'tools/shared.py')
0 files changed, 0 insertions, 0 deletions