Re: JUMP_LABEL returns NULL for the just created jump instruction

2020-09-10 Thread Anton Youdkevitch
Richard, On Thu, Sep 10, 2020 at 11:22 AM Richard Sandiford < richard.sandif...@arm.com> wrote: > Anton Youdkevitch writes: > > Folks, > > > > I'm trying to deal with CFG construction at RTL level and I bumped into a > > problem > > when I created a jump to a certain label. After the jump is cre

Re: JUMP_LABEL returns NULL for the just created jump instruction

2020-09-10 Thread Richard Sandiford
Anton Youdkevitch writes: > Folks, > > I'm trying to deal with CFG construction at RTL level and I bumped into a > problem > when I created a jump to a certain label. After the jump is created I try > to extract the > label using JUMP_LABEL but I get nothing. > > The code looks like like this: > >

JUMP_LABEL returns NULL for the just created jump instruction

2020-09-09 Thread Anton Youdkevitch
Folks, I'm trying to deal with CFG construction at RTL level and I bumped into a problem when I created a jump to a certain label. After the jump is created I try to extract the label using JUMP_LABEL but I get nothing. The code looks like like this: begin_sequence (); code_label lab = gen_label