This is an archive of the discontinued LLVM Phabricator instance.

[Thumb] Fix crash in Thumb1RegisterInfo::rewriteFrameIndex
ClosedPublic

Authored by olista01 on Oct 17 2014, 3:13 AM.

Details

Reviewers
t.p.northover
Summary

This function can, for some offsets from the SP, split one instruction
into two. Since it re-uses the original instruction as the first
instruction of the result, we need ensure its result register is not
marked as dead before we use it in the second instruction.

Diff Detail

Event Timeline

olista01 updated this revision to Diff 15070.Oct 17 2014, 3:13 AM
olista01 retitled this revision from to [Thumb] Fix crash in Thumb1RegisterInfo::rewriteFrameIndex.
olista01 updated this object.
olista01 edited the test plan for this revision. (Show Details)
olista01 set the repository for this revision to rL LLVM.
olista01 added a subscriber: Unknown Object (MLST).
t.p.northover accepted this revision.Oct 17 2014, 10:36 AM
t.p.northover added a reviewer: t.p.northover.
t.p.northover added a subscriber: t.p.northover.

Hi Oliver,

This looks fine to me.

Tim.

This revision is now accepted and ready to land.Oct 17 2014, 10:36 AM
olista01 closed this revision.Oct 20 2014, 4:10 AM

Thanks, committed as r220194.