aboutsummaryrefslogtreecommitdiff
path: root/llvm/examples/ModuleMaker/ModuleMaker.cpp
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2016-05-24 23:47:41 +0000
committerDan Gohman <dan433584@gmail.com>2016-05-24 23:47:41 +0000
commitd530f68d4572fe30f24353e2e3f7b26a54f2f994 (patch)
treeff1ebe39747426c0bb9336968105501db2e44406 /llvm/examples/ModuleMaker/ModuleMaker.cpp
parenta9f38983e805b2894aa7838685fe59a1c8527128 (diff)
downloadllvm-d530f68d4572fe30f24353e2e3f7b26a54f2f994.zip
llvm-d530f68d4572fe30f24353e2e3f7b26a54f2f994.tar.gz
llvm-d530f68d4572fe30f24353e2e3f7b26a54f2f994.tar.bz2
[WebAssembly] Put __stack_pointer in the offset field of loads and stores.
Instead of this: i32.const $push10=, __stack_pointer i32.load $push11=, 0($pop10) Emit this: i32.const $push10=, 0 i32.load $push11=, __stack_pointer($pop10) It's not currently clear which is better, though there's a chance the second form may be better at overall compression. We can revisit this when we have more data; for now it makes sense to make PEI consistent with isel. Differential Revision: http://reviews.llvm.org/D20411 llvm-svn: 270635
Diffstat (limited to 'llvm/examples/ModuleMaker/ModuleMaker.cpp')
0 files changed, 0 insertions, 0 deletions