[PATCH] D32445: [LV] Handle external uses of floating-point induction variables

Michael Kuperstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 24 11:25:52 PDT 2017


mkuper added a comment.

Yes, that should have been "trip count - 1", sorry.

My question is whether doing this in FP actually produces the desired result. When I wrote this code for int IVs, the idea was that "start + (step * (count - 1))" is equivalent to "start + step + ... + step" with count-1 additions.
Is this true for the FP case?


https://reviews.llvm.org/D32445





More information about the llvm-commits mailing list