[PATCH] D26877: Minor fixes in Loop Strength Reduction

Evgeny Stupachenko via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 18 23:26:55 PST 2016


evstupac added a comment.

> The second and third changes look good. Is there a reason for the first one?

Anna, thanks for taking a look.
Regarding 1st change.
It just widen the function usability.
Function "FindIVUserForCond" is general and could be used not only for "Conditions". It can do the same search for any Instruction.
I want to reuse it in one of my future commits for something more than ICmpInst.


Repository:
  rL LLVM

https://reviews.llvm.org/D26877





More information about the llvm-commits mailing list