search for: int_str

Displaying 1 result from an estimated 1 matches for "int_str".

Did you mean: int_sta
2012 Dec 30
2
[LLVMdev] alignment issue, getting corrupt double values
...r() %s = extractvalue %outer %o, 1 %s1 = extractvalue %inner %s, 0 ;ERROR: this value is 0.0, expected 1.5 call void @trace_float(double %s1) %s2 = extractvalue %inner %s, 1 ;ERROR: this value is 1073217536, expected 2 call void @trace_integer(i32 %s2) ret void } ; simple tracing functions @.int_str = private unnamed_addr constant [4 x i8] c"%d\0A\00" define void @trace_integer( i32 %i ) { entry: %sp = getelementptr [4 x i8]* @.int_str, i32 0, i32 0 call i32 (i8*, ...)* @printf(i8* %sp, i32 %i) ret void } @.float_str = private unnamed_addr constant [4 x i8] c"%f\0A\00"...