Displaying 2 results from an estimated 2 matches for "bb4_label".
2010 Jun 24
2
[LLVMdev] How to prevent an instruction to be executed more than once?
...s there a work-around?
The structure of the code is
BB1 BB2
| |
| |
| |
|----------|
|
v
BB3
where the first instruction in BB3 is inserting an inline assembly which
contains a newly defined label:
call void asm "BB4_label:\0A", ""()
I want to find a way to have this instruction executed only once. The
problem is that in the optimisation steps, LLVM duplicates BB3 and
concatenates it with BB1 and with BB2, therefore the label is defined twice,
which gives an error.
Is it possible to do this,...
2010 Jun 24
0
[LLVMdev] How to prevent an instruction to be executed more than once?
...t; BB1 BB2
> | |
> | |
> | |
> |----------|
> |
> v
> BB3
>
> where the first instruction in BB3 is inserting an inline assembly which
> contains a newly defined label:
>
> call void asm "BB4_label:\0A", ""()
>
> I want to find a way to have this instruction executed only once. The
> problem is that in the optimisation steps, LLVM duplicates BB3 and
> concatenates it with BB1 and with BB2, therefore the label is defined twice,
> which gives an error.
>
>...