Constants, including G_GLOBAL_VALUE, are all emitted into the entry block which lets us use the vreg def assuming it dominates all other users. However, it can cause jumpy debug behaviour since the DebugLoc attached to these MIs are from
a user instruction that could be in a different block.
This makes GlobalISel consistent with SelectionDAG and fixes PR40887.
Should we limit this exception to G_CONSTANT and similar? Normal code can potentially be in the entry block too can't it?