No longer require the queue pointer to be passed in in fixed SGPRs.
This can't be a terminator instruction. This will produce a terminator in the middle of the block verifier error. I think this is already an issue in some case
This was behavior was not introduced by this patch as the original code did this. So can address as a separate patch. Can you point me at examples of how lowering should generate code that introduces new control flow?
You can't directly. A new dummy node needs to be introduced, and then create new blocks in AdjustInstrPostInstrSelection.
If you add a test with the handler disabled and any instruction after, like a store you'll see this doesn't work.