[IPO] Use std::array for AccessKind2Accesses (NFC)
authorKazu Hirata <kazu@google.com>
Sat, 23 Jul 2022 22:47:53 +0000 (15:47 -0700)
committerKazu Hirata <kazu@google.com>
Sat, 23 Jul 2022 22:47:53 +0000 (15:47 -0700)
commit3736a498d48c1a41de5a3a3966477c9ce627088d
tree1747c23c2b5ad7e5252411134a0ca69d8a993e39
parent2622c5e212646d1c8d6a43444d7c5b551f0221ad
[IPO] Use std::array for AccessKind2Accesses (NFC)

Switching to std:array allow us to use fill.

While I am at it, this patch also converts one for loop to a
range-based one.
llvm/lib/Transforms/IPO/AttributorAttributes.cpp