Displaying 1 result from an estimated 1 matches for "exitcond38".
Did you mean:
exitcond32
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