Bug ID: 85223
Summary: [nvptx] nvptx_single needs rewrite
Assignee: unassigned at gcc dot gnu.org
Reporter: vries at gcc dot gnu.org
Target Milestone: ---
In nvptx_single, we locate the head and tail of the code that needs neutering
and/or jump condition state propagation, and then insert the insns before and
after head and tail.
PR85204 - "[nvptx] infinite loop generated" is an example where that goes
wrong. I'll commit a minimal stage4 fix for that PR, but we need a stage1
rewrite, that minimized uses of head and tail, and adds and use variables that
describe the various parts of the neutered region. F.i.