search for: float_str

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

Did you mean: float_dst
2012 Dec 30
2
[LLVMdev] alignment issue, getting corrupt double values
...@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" define void @trace_float( double %i ) { entry: %sp = getelementptr [4 x i8]* @.float_str, i32 0, i32 0 call i32 (i8*, ...)* @printf(i8* %sp, double %i) ret void } declare i32 @printf(i8*, ...) -------------- next part --------------...