diff options
author | Roberto Lublinerman <rluble@google.com> | 2024-05-28 12:07:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-28 12:07:32 -0700 |
commit | fc48efe380c0d3360db17a54f0cdd0267d8ee1cf (patch) | |
tree | 275b4d43c27e37a26b0d6bad2b623937c49c85e3 /src/passes/pass.cpp | |
parent | 13f3fd2bb76a41f146382ebf7303869c1088c73e (diff) | |
download | binaryen-fc48efe380c0d3360db17a54f0cdd0267d8ee1cf.tar.gz binaryen-fc48efe380c0d3360db17a54f0cdd0267d8ee1cf.tar.bz2 binaryen-fc48efe380c0d3360db17a54f0cdd0267d8ee1cf.zip |
OptimizeInstructions: Push StructNew down to help it fold away StructSets (#6584)
Heap stores (struct.set) are optimized into the struct.new when they are adjacent
in a statement list.
Pushing struct.new down past irrelevant instructions increases the likelihood that
it ends up adjacent to sets.
Diffstat (limited to 'src/passes/pass.cpp')
0 files changed, 0 insertions, 0 deletions