Source code pointer:
genStructReturn()
GT_RETURN(call) where call is a multi-reg call. ABI return reg order is {rax, rdx} or {xmm0, xmm1}. Under LSRA stress it could be possible that originally allocated regs are spilled and reloaded to reverse the order. But codegen of GT_RETURN needs to move the allocated regs as: rdx->rax and rax->rdx. This issue is to ensure that we have a test case and/or LSRA stress mode combo to hit that code path in codegen for testing.
category:correctness
theme:testing
skill-level:intermediate
cost:small
impact:small
Source code pointer:
genStructReturn()
GT_RETURN(call) where call is a multi-reg call. ABI return reg order is {rax, rdx} or {xmm0, xmm1}. Under LSRA stress it could be possible that originally allocated regs are spilled and reloaded to reverse the order. But codegen of GT_RETURN needs to move the allocated regs as: rdx->rax and rax->rdx. This issue is to ensure that we have a test case and/or LSRA stress mode combo to hit that code path in codegen for testing.
category:correctness
theme:testing
skill-level:intermediate
cost:small
impact:small