[SLP] clean up code in gather(); NFC
authorSanjay Patel <spatel@rotateright.com>
Mon, 21 Sep 2020 20:23:31 +0000 (16:23 -0400)
committerSanjay Patel <spatel@rotateright.com>
Tue, 22 Sep 2020 13:21:20 +0000 (09:21 -0400)
commit062276c691099f977e69c101f21c1a9ac549f283
treeb527f1b2016eaa7fbf6e81c3a855cf251a10f6da
parent6dc06fa09d1a259df1f897dc821ba1544e2bcd24
[SLP] clean up code in gather(); NFC

1. Use range for-loop to avoid repeatedly accessing end index.
2. Better variable names.
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp