diff options
author | JF Bastien <jfb@google.com> | 2016-01-30 14:11:26 +0000 |
---|---|---|
committer | JF Bastien <jfb@google.com> | 2016-01-30 14:11:26 +0000 |
commit | fbc89d21dd7c878d5238d90eafd597aff46f33e0 (patch) | |
tree | fb836ed49391bbe5e3ebf2853e5ab9f314f8374f /lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py | |
parent | 6e75b138f2d2f860454a9e5ebd80279776e8a420 (diff) | |
download | bcm5719-llvm-fbc89d21dd7c878d5238d90eafd597aff46f33e0.tar.gz bcm5719-llvm-fbc89d21dd7c878d5238d90eafd597aff46f33e0.zip |
WebAssembly: don't optimize frameindex store
The previous code was incorrect (can't getReg a frameindex). We could instead optimize it to reduce tree height, but I'm not sure that's worthwhile yet because we then try to eliminate the frameindex.
This patch also fixes frame index elimination for operations which may load or store: it used to assume the base was operand 2 and immediate offset operand 1. That's not true for stores, where they're 4 and 3.
llvm-svn: 259305
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py')
0 files changed, 0 insertions, 0 deletions