[all-commits] [llvm/llvm-project] 3736a4: [IPO] Use std::array for AccessKind2Accesses (NFC)

kazutakahirata via All-commits all-commits at lists.llvm.org
Sat Jul 23 15:48:10 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3736a498d48c1a41de5a3a3966477c9ce627088d
      https://github.com/llvm/llvm-project/commit/3736a498d48c1a41de5a3a3966477c9ce627088d
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-07-23 (Sat, 23 Jul 2022)

  Changed paths:
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list