You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Avoid marking tmp as DoNotEnregister in tmp=GT_CALL() where call returns a enregisterable struct in two return registers #5112
Right now codegenxarch.cpp is implemented with the assumption that the tmp to which struct returned in two registers is assigned does not live in a register. For example, when a call returns Vector3/4, we will have a tmp = call(), where tmp is of SIMD12/16 type and can be allocated a register. In this case it will lead to better code quality if codegen directly generates reg-to-reg moves instead of save to a temp on stack.
changed the title [-]Avoid marking tmp as DoNotEnregister in tmp=GT_CALL() where call returns a struct in two return registers[/-][+]Avoid marking tmp as DoNotEnregister in tmp=GT_CALL() where call returns a enregisterable struct in two return registers[/+]on Feb 12, 2016
Activity
[-]Avoid marking tmp as DoNotEnregister in tmp=GT_CALL() where call returns a struct in two return registers[/-][+]Avoid marking tmp as DoNotEnregister in tmp=GT_CALL() where call returns a enregisterable struct in two return registers[/+]CarolEidt commentedon May 14, 2018
A repro, in particular one that reflects an actual real-world scenario, would be useful in prioritizing this.
CarolEidt commentedon Oct 16, 2020
Fixed by #36862