search for: noncomputeditcount

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

2008 Dec 09
1
[LLVMdev] scalar-evolution + indvars fail to get the loop trip count?
...32 %tmp4 } Surely the loop trip count is 256, but the Loop::getTripCount() will return NULL. This is due to the exit condition: %tmp16 = icmp slt i32 %tmp13, 0 ; <i1> [#uses=1] pass indvars should transform it into a canonical exit condtion EQ or NE, but as scalarevolution returned NonComputedItCount, it failed to do that. In pass ScalarEvolution three algorithms failed to compute the trip count: 1. In SCEVAddRecExpr::getNumIterationsInRange(), as the loop stride is negative, the exit value expression will be zero: (Here A is the stride value) // The exit value should be (End+A)/A....
2008 Dec 09
1
[LLVMdev] scalar-evolution + indvars fail to get the loop trip count?
...n NULL. >> > This is due to the exit condition: >> > >> > %tmp16 = icmp slt i32 %tmp13, 0 ; <i1> [#uses=1] >> > >> > pass indvars should transform it into a canonical exit condtion EQ or >> > NE, but as scalarevolution returned NonComputedItCount, it failed to do >> > that. >> > >> > In pass ScalarEvolution three algorithms failed to compute the trip count: >> > >> > 1. In SCEVAddRecExpr::getNumIterationsInRange(), as the loop stride is >> > negative, the exit value expression will b...