[unroll] Reduce scope of UnrollFactor variable in computeUnrollCount [NFC]
authorPhilip Reames <listmail@philipreames.com>
Mon, 29 Nov 2021 22:31:50 +0000 (14:31 -0800)
committerPhilip Reames <listmail@philipreames.com>
Mon, 29 Nov 2021 22:33:14 +0000 (14:33 -0800)
commita655e0f991ba59f34fc24c44d04bbc56ff564c3e
tree70025dd93a6001eac753adb86cfe80c8eb70dfcd
parenta20987adf4f80e2657eb3032a5a91e13f58106a0
[unroll] Reduce scope of UnrollFactor variable in computeUnrollCount [NFC]

Suggested in review of D114453, done as a separate change to get all uses at once.
llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp