search for: cond20

Displaying 2 results from an estimated 2 matches for "cond20".

Did you mean: cond2
2012 Jan 18
2
[LLVMdev] getSmallConstantTripCount function doesn't work for obvious cases
Hi, My pass heavily relies on llvm::Loop's getSmallConstantTripCount method. However, I found that it doesn't work for some simple cases. In the following example, I can get the constant trip count of the outermost loop if statement "a[l] = a[l] + 1" is there. After commenting out this line, the returned constant trip count for that loop is 0. In my pass, I traverse the nested
2013 Feb 14
1
[LLVMdev] LiveIntervals analysis problem
...er %2 = phi i16 [ %11, %while.cond.while.cond12.preheader_crit_edge ], [ %1, %while.cond.preheader ] %sc.0.lcssa = phi i32 [ %add, %while.cond.while.cond12.preheader_crit_edge ], [ 0, %while.cond.preheader ] %cmp15106 = icmp ult i16 %2, 256 br i1 %cmp15106, label %while.body17, label %while.cond20.preheader while.body: ; preds = %while.body.lr.ph, %while.condthread-pre-split %3 = phi i16 [ %incdec.ptr.8.i.promoted, %while.body.lr.ph ], [ 0, %while.condthread-pre-split ] %4 = phi i16 [ %incdec.ptr.7.i.promoted, %while.body.lr.ph ], [ %3, %while.condt...