Open
Bug 1629897
Opened 5 years ago
Updated 4 years ago
Warp: improve MIR backend optimizations
Categories
(Core :: JavaScript Engine: JIT, task, P2)
Core
JavaScript Engine: JIT
Tracking
()
NEW
People
(Reporter: evilpie, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
For many opcodes IonBuilder will use TI to remove (~ never emit) unnecessary MIR instructions. WarpBuilder however doesn't use type information and is supposed to be simple to reason about. Together with the CacheIR transpiler it's quite easy to generate MIR nodes that we could trivially fold away.
I suspect there a quite a few missed optimization opportunities here, especially for cases that could not occur before. As an example we can optimize MGuardToClass
when the input is MNewArray
.
Updated•5 years ago
|
Priority: -- → P2
Updated•5 years ago
|
Severity: -- → N/A
Comment 1•5 years ago
|
||
Changing this to cover all backend work we want for Warp.
Summary: Strengthen MIR folding → Warp: improve MIR backend optimizations
You need to log in
before you can comment on or make changes to this bug.
Description
•