Page MenuHomePhabricator

Add the use of register r for outlined function when register r is live in and defined later.
ClosedPublic

Authored by jinlin on Jan 22 2021, 2:57 PM.

Details

Summary

The compiler needs to mark register $x0 as live in for the following case.

$x1 = ADDXri $sp, 16, 0
BL @spam, csr_darwin_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit $x0, implicit killed $x1, implicit-def $sp, implicit-def dead $x0

Diff Detail

Event Timeline

jinlin created this revision.Jan 22 2021, 2:57 PM
jinlin requested review of this revision.Jan 22 2021, 2:57 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 22 2021, 2:57 PM
This revision is now accepted and ready to land.Feb 8 2021, 12:06 PM