Displaying 2 results from an estimated 2 matches for "_925_0".
Did you mean:
9250
2011 Jul 25
3
[LLVMdev] function failing to run in Jit
...foo(i32 %a, i32 %b) {
Entry:
%mul = mul i32 %b, %a
%ptr = getelementptr inbounds [1000 x i32]* @MyArray, i32 0, i32 %a
store i32 %mul, i32* %ptr, align 4
ret i32 %a
}
Comparing it to the web compiled c equivalent I can't see any relevant
difference.
; ModuleID = '/tmp/webcompile/_925_0.bc'
target datalayout =
"e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
target triple = "x86_64-linux-gnu"
@array = common global [1000 x i32] zeroinitializer, align 32 ; <[100...
2011 Jul 25
0
[LLVMdev] function failing to run in Jit
...2 %b, %a
> %ptr = getelementptr inbounds [1000 x i32]* @MyArray, i32 0, i32 %a
> store i32 %mul, i32* %ptr, align 4
> ret i32 %a
> }
>
> Comparing it to the web compiled c equivalent I can't see any relevant
> difference.
>
> ; ModuleID = '/tmp/webcompile/_925_0.bc'
> target datalayout =
> "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
> target triple = "x86_64-linux-gnu"
>
> @array = common global [1000 x i32] zeroinitiali...