Bump Cranelift and allow to print optimized IR from within Spidermonkey
Categories
(Core :: JavaScript: WebAssembly, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: bbouvier, Assigned: bbouvier)
References
Details
Attachments
(3 files)
The print patch allows one to do the following:
RUST_LOG=baldrdash::compile=debug ./dist/bin/js --wasm-compiler=cranelift /tmp/a.js
where a.js is wasm + JS glue code.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
(Note the Cranelift bump is interesting because this is a perf improvement, and an opportunity to see if AWFY will show it, namely on Embenchen branches sub-test.)
Assignee | ||
Comment 2•5 years ago
|
||
The one optimization introduced by this is the rearrangement of branches to
prefer fallthrough whenever possible, as well as folding branches when
comparing against 0. See also
https://github.com/CraneStation/cranelift/pull/629 for details.
Assignee | ||
Comment 3•5 years ago
|
||
Pushed by bbouvier@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5acf68edbf59 Bump Cranelift to 538a0662bf90a1daa9921c10f34827ace134abf1; r=lth https://hg.mozilla.org/integration/autoland/rev/8c14162a3f8e Allow showing the optimized IR of a Cranelift-compiled function; r=lth
Comment 5•5 years ago
|
||
Backed out 2 changesets (Bug 1546439) for build bustages CLOSED TREE
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=242251160&repo=autoland&lineNumber=2768
Backout: https://hg.mozilla.org/integration/autoland/rev/36e49a036a2e7010667bf7f60111b48b25470e58
Assignee | ||
Comment 6•5 years ago
|
||
Pushed by bbouvier@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/df4c4083aff8 Bump Cranelift to 538a0662bf90a1daa9921c10f34827ace134abf1; r=lth https://hg.mozilla.org/integration/mozilla-inbound/rev/5fd6e9df0a2c Allow showing the optimized IR of a Cranelift-compiled function; r=lth
Assignee | ||
Updated•5 years ago
|
Comment 8•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/df4c4083aff8
https://hg.mozilla.org/mozilla-central/rev/5fd6e9df0a2c
Updated•5 years ago
|
Description
•