This is an archive of the discontinued LLVM Phabricator instance.

[X86] Correct spill slot sizes
ClosedPublic

Authored by jmorse on Apr 30 2018, 2:55 AM.

Details

Summary

Hi,

My prior patch (https://reviews.llvm.org/D44782 and r330778) successfully got the mem-access size of two opcodes wrong (:/). This corrects that mistake, and extends the regression test to catch cases where dead stores _should_ be removed.

(For full clarity: VMOVSS and VMOVSD were both one switch-case-set too low, doubling their apparent read-sizes)

Diff Detail

Repository
rL LLVM

Event Timeline

jmorse created this revision.Apr 30 2018, 2:55 AM
andreadb accepted this revision.Apr 30 2018, 3:07 AM

LGTM.

This revision is now accepted and ready to land.Apr 30 2018, 3:07 AM
This revision was automatically updated to reflect the committed changes.