[LV] Use OrigLoop instead of induction to get function. (NFC)
authorFlorian Hahn <flo@fhahn.com>
Wed, 24 Nov 2021 20:17:43 +0000 (20:17 +0000)
committerFlorian Hahn <flo@fhahn.com>
Wed, 24 Nov 2021 20:17:44 +0000 (20:17 +0000)
commit2897b67665d1fa1177531e78cc93b3704c5aea12
tree82f17fb475bc19b40e9655330c477e0ab52a4479
parentbfadc5dcbfa81da00b58de5e62b569faf24538e7
[LV] Use OrigLoop instead of induction to get function. (NFC)

Upcoming changes will result in Induction not being set/used in some
cases. Use OrigLoop to get the function instead.
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp