The JIT has had a number of bugs related to the fact that handles are special and cannot participate in various opts, even though we represent them as GT_CNS_INT. #104634 is one latest example.
I think we should consider introducing a dedicated node type for the (opaque) handles to make these bugs less likely to be introduced.
cc @dotnet/jit-contrib
The JIT has had a number of bugs related to the fact that handles are special and cannot participate in various opts, even though we represent them as
GT_CNS_INT. #104634 is one latest example.I think we should consider introducing a dedicated node type for the (opaque) handles to make these bugs less likely to be introduced.
cc @dotnet/jit-contrib