Displaying 2 results from an estimated 2 matches for "body22".
Did you mean:
body25
2012 Dec 25
2
[LLVMdev] [DragonEgg] Strange call to @"\01__isoc99_fscanf"
...ore i32 0, i32* %i17, align 4
br label %for.cond18
for.cond18: ; preds = %for.inc25,
%if.end16
%19 = load i32* %i17, align 4
%conv19 = sext i32 %19 to i64
%20 = load i64* %szarray, align 8
%cmp20 = icmp ult i64 %conv19, %20
br i1 %cmp20, label %for.body22, label %for.end27
for.body22: ; preds = %for.cond18
%21 = load %struct._IO_FILE** %rfile, align 8
%call23 = call i32 (%struct._IO_FILE*, i8*, ...)*
@__isoc99_fscanf(%struct._IO_FILE* %21, i8* getelementptr inbounds ([3 x
i8]* @.str8, i32 0, i32 0), i32* %v...
2012 Jan 18
2
[LLVMdev] getSmallConstantTripCount function doesn't work for obvious cases
Hi,
My pass heavily relies on llvm::Loop's getSmallConstantTripCount method.
However, I found that it doesn't work for some simple cases.
In the following example, I can get the constant trip count of the
outermost loop if statement "a[l] = a[l] + 1" is there. After commenting
out this line, the returned constant trip count for that loop is 0. In my
pass, I traverse the nested