[LV] Remove loop arg from CM::isCandidateForEpilogueVectorization (NFC)
authorFlorian Hahn <flo@fhahn.com>
Sun, 30 Apr 2023 20:10:55 +0000 (21:10 +0100)
committerFlorian Hahn <flo@fhahn.com>
Sun, 30 Apr 2023 20:11:12 +0000 (21:11 +0100)
commita431402fd262ca54a923842148be6cdcef7ab636
tree7c14b2707479b667730111cc9d76d82735f65e5f
parent6fa07a87abc96c3b924be07ce446e79691a7f186
[LV] Remove loop arg from CM::isCandidateForEpilogueVectorization (NFC)

LVP operates on the loop it stores in TheLoop. Use it instead of the
argument, to be in line with other member functions.

Suggested as independent improvement in D143938.
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp