mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
A couple minor fixes suggested by Matthijs Kooijman
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49729 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -123,7 +123,7 @@ entry:
|
||||
|
||||
<p>In this case, the LHS and RHS of the multiplication are the same value. We'd
|
||||
really like to see this generate "<tt>tmp = x+3; result = tmp*tmp;</tt>" instead
|
||||
of computing "<tt>x*3</tt>" twice.</p>
|
||||
of computing "<tt>x+3</tt>" twice.</p>
|
||||
|
||||
<p>Unfortunately, no amount of local analysis will be able to detect and correct
|
||||
this. This requires two transformations: reassociation of expressions (to
|
||||
|
||||
Reference in New Issue
Block a user