# User Details

User Details

- User Since
- Jul 11 2016, 2:04 PM (161 w, 5 d)

# Mar 2 2018

Mar 2 2018

# Sep 12 2016

Sep 12 2016

pankajchawla added inline comments to D22377: [SCEV] trip count calculation for loops with unknown stride.

pankajchawla added inline comments to D22377: [SCEV] trip count calculation for loops with unknown stride.

pankajchawla updated the diff for D22377: [SCEV] trip count calculation for loops with unknown stride.

Changes to address Sanjoy's comments.

# Sep 2 2016

Sep 2 2016

pankajchawla added a comment to D22377: [SCEV] trip count calculation for loops with unknown stride.

@Eli

Thanks for the info!

pankajchawla updated the diff for D22377: [SCEV] trip count calculation for loops with unknown stride.

Fixed max backedge count computation for loops with unknown stride by assuming a min stride of 1.

pankajchawla added a comment to D22377: [SCEV] trip count calculation for loops with unknown stride.

Hi all,

# Aug 25 2016

Aug 25 2016

pankajchawla added a comment to D22377: [SCEV] trip count calculation for loops with unknown stride.

Thanks for the additional info!

# Aug 18 2016

Aug 18 2016

pankajchawla added a comment to D22377: [SCEV] trip count calculation for loops with unknown stride.

I can't find anything wrong with the IR. I am awaiting your response for more information.

# Aug 16 2016

Aug 16 2016

pankajchawla added a comment to D22377: [SCEV] trip count calculation for loops with unknown stride.

Please ignore my previous email. My analysis was incorrect. The stride cannot be negative here as it will lead to UB.

pankajchawla added a comment to D22377: [SCEV] trip count calculation for loops with unknown stride.

Hi Sanjoy,

# Aug 9 2016

Aug 9 2016

pankajchawla added inline comments to D22377: [SCEV] trip count calculation for loops with unknown stride.

pankajchawla updated the diff for D22377: [SCEV] trip count calculation for loops with unknown stride.

Added more elaborate comments explaining why the change is correct.

# Aug 8 2016

Aug 8 2016

# Aug 2 2016

Aug 2 2016

Added bailout condition for predicated IVs.

# Jul 26 2016

Jul 26 2016

- Added check to prove that the stride is truly unknown to ScalarEvolution so that the wrap flags are not propagated in edge cases.
- Removed unnecessary check for loopHasNoAbnormalExits() and loop entry guard.
- Fixed comments and the test.

pankajchawla added a comment to D22377: [SCEV] trip count calculation for loops with unknown stride.

Hi Sanjoy,

# Jul 22 2016

Jul 22 2016

pankajchawla added a comment to D22377: [SCEV] trip count calculation for loops with unknown stride.

Hi Sanjoy,

pankajchawla added a comment to D22377: [SCEV] trip count calculation for loops with unknown stride.

Hi Sanjoy,

Added check for side effects in the loop.

# Jul 20 2016

Jul 20 2016

pankajchawla requested review of D22377: [SCEV] trip count calculation for loops with unknown stride.

Bumping this up again.

# Jul 15 2016

Jul 15 2016

pankajchawla added a comment to D22377: [SCEV] trip count calculation for loops with unknown stride.

Hi Sanjoy,

# Jul 14 2016

Jul 14 2016

Added check for loopHasNoAbnormalExits() and a comment about bailing out for do-while loops.

pankajchawla added a comment to D22377: [SCEV] trip count calculation for loops with unknown stride.

pankajchawla retitled D22377: [SCEV] trip count calculation for loops with unknown stride from to [SCEV] trip count calculation for loops with unknown stride.