Displaying 1 result from an estimated 1 matches for "fibonacci_0xa566d80".
2009 Jun 29
2
[LLVMdev] Instruction Combining Pass *Breaking* Struct Reads?
...gt; [#uses=3]
%8 = bitcast i8* %3 to { i8*, i64 }* ; <{ i8*, i64 }*> [#uses=3]
%9 = getelementptr { i64, i64 }* %7, i32 0, i32 0 ; <i64*> [#uses=1]
store i64 25, i64* %9
%10 = getelementptr { i64, i64 }* %7, i32 0, i32 1 ; <i64*> [#uses=1]
store i64 1, i64* %10
call void @fibonacci_0xa566d80({ i64, i64 }* %7, { i8*, i64 }* %8)
%11 = getelementptr { i8*, i64 }* %8, i32 0, i32 1 ; <i64*> [#uses=1]
%12 = load i64* %11 ; <i64> [#uses=1]
%13 = icmp slt i64 %12, 1 ; <i1> [#uses=1]
br i1 %13, label %21, label %14
As you can see, I allocate two structs, one taking 16...