summaryrefslogtreecommitdiff
path: root/scripts/test/lld.py
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2020-12-11 08:32:02 -0800
committerGitHub <noreply@github.com>2020-12-11 08:32:02 -0800
commit290147d8d43a7448d68939ec711b524ba4fb3fbd (patch)
treee5403fd0fe2d3008186f79240a5ec9a1518615c5 /scripts/test/lld.py
parente16cf5818de5a6e37ffcbce0bcde320290d9f9f1 (diff)
downloadbinaryen-290147d8d43a7448d68939ec711b524ba4fb3fbd.tar.gz
binaryen-290147d8d43a7448d68939ec711b524ba4fb3fbd.tar.bz2
binaryen-290147d8d43a7448d68939ec711b524ba4fb3fbd.zip
[GC] Fix Array optimization issues (#3438)
Precompute still tried to precompute a reference because the check was not in the topmost place. Also we truncated i8/i16 values, but did not extend them properly. That was also an issue with structs. The new test replaces the old one by moving from -O1 to -Oz (which runs more opts, and would have noticed this earlier), and adds array operations too, including sign extends.
Diffstat (limited to 'scripts/test/lld.py')
0 files changed, 0 insertions, 0 deletions