[all-commits] [llvm/llvm-project] 9cf972: [flang][OpenMP] Avoid unnecessary init loop, use c...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Thu Dec 14 09:24:31 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9cf9721dcf1c832a1374e453500b8f7979e65a84
      https://github.com/llvm/llvm-project/commit/9cf9721dcf1c832a1374e453500b8f7979e65a84
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2023-12-14 (Thu, 14 Dec 2023)

  Changed paths:
    M flang/lib/Lower/OpenMP.cpp

  Log Message:
  -----------
  [flang][OpenMP] Avoid unnecessary init loop, use constructor instead,… (#75482)

… NFC

SmallVector has a constructor that fills it with a number of copies of a
given value. Use it instead of a loop that does the same thing.




More information about the All-commits mailing list