Displaying 1 result from an estimated 1 matches for "inumel".
Did you mean:
intel
2014 Feb 19
2
[LLVMdev] better code for IV
...e. There is IR sample below, I know of one way to do it, and I'm looking for advice on another way.
When compiling a simple C loop (c[i]=a[i]+b[i], a, b, c are float*), the IR starts as follows:
define void @ArrayAdd1(float* nocapture %a, float* nocapture %b, float* nocapture %c, i64 %iNumElements) {
Entry:
br label %L_pre_head
L_pre_head: ; preds = %Entry
br label %L_entry
L_entry: ; preds = %L_entry, %L_pre_head
%L_ind_var = phi i64 [ 0, %L_pre_head ]...