commit | 360231a056e796c36ffe62348507e904dc9efb9b | [log] [tgz] |
---|---|---|
author | Nicolas Geoffray <ngeoffray@google.com> | Wed Oct 08 21:07:48 2014 +0100 |
committer | Nicolas Geoffray <ngeoffray@google.com> | Thu Oct 09 15:21:57 2014 +0100 |
tree | a62ff73c11eaa6694649c98e4c2d872e89149b0c | |
parent | 2072c465cfff077da257bdf14f1f1b2690c946c8 [diff] |
Fix code generation of materialized conditions. Move the logic for knowing if a condition needs to be materialized in an optimization pass (so that the information does not change as a side effect of another optimization). Also clean-up arm and x86_64 codegen: - arm: ldr and str are for power-users when a constant is in play. We should use LoadFromOffset and StoreToOffset. - x86_64: fix misuses of movq instead of movl. Change-Id: I01a03b91803624be2281a344a13ad5efbf4f3ef3