Displaying 1 result from an estimated 1 matches for "l_pre_head".
2014 Feb 19
2
[LLVMdev] better code for IV
...o 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 ], [ %L_inc_ind_var, %L_entry ]
%L_tid = phi i...