Displaying 1 result from an estimated 1 matches for "inc14".
Did you mean:
inc16
2012 Jul 30
0
[LLVMdev] IR optimization pass ideas for backend porting before ISel
...he new GEP.
Next, I may reduce IR variables like %i.020, %sub2, %inc15
in bubbleSort-cast-2.ll and obtain better codes shown in
bubbleSort-mcore-cast-2.s.
The yellow codes are the original IR, and the red are modified ones:
for.cond1.preheader: ; preds = %entry,
%for.inc14
%indvars.iv = phi i32 [ %indvars.iv.next, %for.inc14 ], [ %sub, %entry ]
;%i.020 = phi i32 [ %inc15, %for.inc14 ], [ 0, %entry ]
;%sub2 = sub nsw i32 %sub, %i.020
;%cmp317 = icmp sgt i32 %sub2, 0
%cmp317 = icmp sgt i32 %indvars.iv, 0
br i1 %cmp317, label %for.body4.lr.ph, label %for.inc...