Displaying 4 results from an estimated 4 matches for "returnvalue2".
Did you mean:
returnvalue
2011 Jun 14
2
[LLVMdev] Avoiding Constant Folding
...; preds = %entry
br label %ifmerge
ifmerge: ; preds = %else, %then
...
%41 = icmp ne i32 %40, 15
br i1 %41, label %then1, label %else3
then1: ; preds = %ifmerge
%returnValue2 = or i1 true, %returnValue
else3: ; preds = %ifmerge
br label %ifmerge4
ifmerge4: ; preds = %else3, %then1
....
And I'm getting the following error:
Instruction does not dominate all uses!
%returnValue = o...
2011 Jun 14
0
[LLVMdev] Avoiding Constant Folding
... ; preds = %entry
> br label %ifmerge
>
> ifmerge: ; preds = %else, %then
> ...
> %41 = icmp ne i32 %40, 15
> br i1 %41, label %then1, label %else3
>
> then1: ; preds = %ifmerge
> %returnValue2 = or i1 true, %returnValue
>
> else3: ; preds = %ifmerge
> br label %ifmerge4
>
> ifmerge4: ; preds = %else3, %then1
> ....
>
> And I'm getting the following error:
> Instruction does...
2011 Jun 14
2
[LLVMdev] Avoiding Constant Folding
...l %ifmerge
>>
>> ifmerge: ; preds = %else, %then
>> ...
>> %41 = icmp ne i32 %40, 15
>> br i1 %41, label %then1, label %else3
>>
>> then1: ; preds = %ifmerge
>> %returnValue2 = or i1 true, %returnValue
if control flow goes: "entry" -> "else" -> "ifmerge" -> "then1", then you will
try to use %returnValue in then1 without ever defining it. This is what the
error message is trying to tell you.
Ciao, Duncan.
>>
>...
2011 Jun 14
0
[LLVMdev] Avoiding Constant Folding
...> ifmerge: ; preds = %else, %then
>>> ...
>>> %41 = icmp ne i32 %40, 15
>>> br i1 %41, label %then1, label %else3
>>>
>>> then1: ; preds = %ifmerge
>>> %returnValue2 = or i1 true, %returnValue
>
> if control flow goes: "entry" -> "else" -> "ifmerge" -> "then1", then you
> will
> try to use %returnValue in then1 without ever defining it. This is what
> the
> error message is trying to tell you....