diff options
author | Björn Gustavsson <[email protected]> | 2012-08-09 15:33:11 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2012-10-09 10:09:39 +0200 |
commit | 34afddc135ff25cefa75aee70b8d09186f78085e (patch) | |
tree | 1886f0a3c39b11715f37ae05d4205dec46d48d7d /lib/webtool | |
parent | 3605e00470d8e04710317b88e135e28082ff27d3 (diff) | |
download | otp-34afddc135ff25cefa75aee70b8d09186f78085e.tar.gz otp-34afddc135ff25cefa75aee70b8d09186f78085e.tar.bz2 otp-34afddc135ff25cefa75aee70b8d09186f78085e.zip |
beam_bool: Recognize more safe optimizations
The optimizer of boolean expressions can often reject optimizations
that it does not recognize as safe. For instance, if a boolean
expression was preceded by 'move' instructions that saved x registers
into y registers, it would almost certainly reject the optimization
because it required the y register not be used in the code that
follows.
Fix this problem by allowing identical 'move' instructions that assing
to y registers at the beginning of the old and the optimized code.
While at it, correct the spelling of "preceding".
Diffstat (limited to 'lib/webtool')
0 files changed, 0 insertions, 0 deletions