Closed Bug 1049691 Opened 10 years ago Closed 10 years ago

IonMonkey: Fold loads with their stores.

Categories

(Core :: JavaScript Engine: JIT, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla34

People

(Reporter: nbp, Assigned: nbp)

References

Details

Attachments

(1 file, 1 obsolete file)

If we want to remove stores, which is what is intended in Bug 1044202, we first need to remove the loads which are dependent on these stores. Our alias analysis is not yet precise but it should be enough to handle dominated cases.
Attachment #8468594 - Flags: review?(sunfish)
Comment on attachment 8468594 [details] [diff] [review] Fold Loads to their store value when possible. Review of attachment 8468594 [details] [diff] [review]: ----------------------------------------------------------------- Fun!
Attachment #8468594 - Flags: review?(sunfish) → review+
Attachment #8468594 - Attachment is obsolete: true
Attachment #8468699 - Flags: review+
https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=e74d30e420b8 The above patch fix a sanity issue reported by evilpie, which is that MLoadFixedSlot::flodsTo was not checking the slot index, as other instructions are doing. Fortunately, this does not break anything as the alias analysis will only set as a dependency either an instruction which has the same slot (mightAlias) or an instruction which alias everything.
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
Depends on: 1254528
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: