In a PR to print out / parse guard live variables (coming soon) I noticed that some guards have their condition SSA var in the live vars but some don't. Here's (elided) jit-pre-opt output for simple_interp_loop2:
Note that the first two guards end with their condition SSA var (%14 and %18 respectively) but the third guard doesn't include %35. Note that none of the three condition variables is used later in the trace, so I was (naively?) expecting all, or none, of them to appear -- but a mix seems weird.
In a PR to print out / parse guard live variables (coming soon) I noticed that some guards have their condition SSA var in the live vars but some don't. Here's (elided)
jit-pre-opt
output for simple_interp_loop2:Note that the first two guards end with their condition SSA var (
%14
and%18
respectively) but the third guard doesn't include%35
. Note that none of the three condition variables is used later in the trace, so I was (naively?) expecting all, or none, of them to appear -- but a mix seems weird.