Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
Optimize HEAP8[i] = x & 255 to HEAP8[i] = x, and similar for HEAP16.
|
|
|
|
where simplifyNotComps is guaranteed to be valid
|
|
|
|
of ~~
|
|
|
|
Optimize x^-1 to ~x; this comes up because LLVM does not have a bitwise
negate operator. Optimize x&1^1 to !x; this comes up because of how LLVM
lowers C++ bool variables.
Also, add an optimization to simplifyExpressionsPre to eliminate |0 from
'~' expressions in more cases.
|
|
Add an optimization to simplifyExpressionsPre to replace (x<y)&1 with x<y
if possible. This comes up frequently in C++ with bool variables.
|
|
|
|
|
|
|
|
|
|
otherwise
|
|
|
|
|
|
the parallel heap type
|
|
|
|
|
|
through tempDoublePtr
|
|
Add an optimization to simplifyExpressionsPre to replace (x&A)<<B>>B with X&A
if possible. This comes up frequently in C++ with bool variables.
|
|
|
|
|
|
|
|
shift optimization there
|
|
|
|
|
|
|
|
|