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
Paths
| Differential D95267
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 TimelineThis revision is now accepted and ready to land.Feb 8 2021, 12:06 PM Closed by commit rG7c2192b277e6: Add the use of register r for outlined function when register r is live in and… (authored by jinlin). · Explain WhyMar 3 2021, 3:14 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 318656 llvm/lib/CodeGen/MachineOutliner.cpp
llvm/test/CodeGen/AArch64/machine-outliner-side-effect-2.mir
|