Displaying 3 results from an estimated 3 matches for "repeat2".
Did you mean:
repeat
2011 Jul 05
3
[LLVMdev] optimizer returning wrong variable?
...%b2 = alloca i32
store i32 %b, i32* %b2
%c = alloca i32
store i32 0, i32* %c
%x = alloca i32
store i32 0, i32* %x
%y = alloca i32
store i32 0, i32* %y
br label %Repeat1
Repeat1: ; preds = %Until1, %
Entry
store i32 0, i32* %y
br label %Repeat2
Repeat2: ; preds = %Until2, %
Repeat1
%x3 = load i32* %x
%y4 = load i32* %y
%add = add i32 %x3, %y4
%c5 = load i32* %c
%add6 = add i32 %c5, %add
store i32 %add6, i32* %c
%y7 = load i32* %y
%add8 = add i32 %y7, 1
store i32 %add8, i32* %y...
2011 Jul 05
0
[LLVMdev] optimizer returning wrong variable?
...tput from the c interface it looks ok to me
> but the optimizer is returning the wrong variable
> I don't know what to do to avoid it?
I don't see the problem. In your input .ll, the function's return is:
%c16 = load i32* %c
ret i32 %c16
The last store to %c is the one in Repeat2
%add6 = add i32 %c, %add
store i32 %add6, i32* %c
which postdominates (ie., all routes from entry to exit must encounter
that store). Therefore we conclude that the return value is in fact %add6.
Are you actually seeing different behaviour for any particular set of
inputs on some target?...
2009 Apr 22
2
drawing a plot with SEM
I have a data matrix:
repeat1 repeat2
1 30 34
2 12 23
3 50 13
4 56 98
.
.
.
I would like to plot for the mean and standard error of mean of repeat 1 and
repeat2 for each row.
Any pointers on how to do this in R?
TIA,
Anjan
--
=============================
anjan...