NEW242816
[JSC] Improve same-register moves in AirAllocateRegistersAndStackAndGenerateCode
https://bugs.webkit.org/show_bug.cgi?id=242816
Summary [JSC] Improve same-register moves in AirAllocateRegistersAndStackAndGenerateCode
Joseph Griego
Reported 2022-07-15 13:00:25 PDT
When we are emitting a `Move` from a Tmp to a named-register Tmp that matches its current allocation, we currently generate code that spills the source tmp to the stack, allocates a new (distinct) register for it, restores it there, and then moves it; this seems wasteful and, although this kind of situation in Air is not common on x86_64, we do generate it on 32-bit ARM targets
Attachments
Joseph Griego
Comment 1 2022-07-15 13:04:08 PDT
Radar WebKit Bug Importer
Comment 2 2022-07-22 13:01:17 PDT
Note You need to log in before you can comment on or make changes to this bug.