JIT: Have physical promotion insert read backs before possible implicit control flow...
authorJakob Botsch Nielsen <Jakob.botsch.nielsen@gmail.com>
Fri, 26 May 2023 19:15:33 +0000 (21:15 +0200)
committerGitHub <noreply@github.com>
Fri, 26 May 2023 19:15:33 +0000 (21:15 +0200)
commit0ad8b50f9cae6f1a227cf4c69cf10496c04482c6
tree1412a51da0aded73dc617da1566fac9ee5e93303
parent33f78c064577026da90c66ba4d8fec7237ce9d7b
JIT: Have physical promotion insert read backs before possible implicit control flow (#86706)

Physical promotion relies on being able to read back any promoted field
that is fresher in its struct local before control flows to any
successor block. This was failing to take implicit control flow into
account.

Fix #86498
src/coreclr/jit/promotion.cpp
src/coreclr/jit/promotion.h
src/coreclr/jit/promotiondecomposition.cpp
src/coreclr/jit/promotionliveness.cpp
src/tests/JIT/Regression/JitBlue/Runtime_86498/Runtime_86498.cs [new file with mode: 0644]
src/tests/JIT/Regression/JitBlue/Runtime_86498/Runtime_86498.csproj [new file with mode: 0644]