[all-commits] [llvm/llvm-project] 99b2a1: [Driver] -fopenmp-targets=: stabilize OrderedOfflo...

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu Jul 20 21:17:18 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 99b2a1143f932c2da8395a69072f177f596547b2
      https://github.com/llvm/llvm-project/commit/99b2a1143f932c2da8395a69072f177f596547b2
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-07-20 (Thu, 20 Jul 2023)

  Changed paths:
    M clang/lib/Driver/Driver.cpp
    M clang/test/Driver/openmp-offload-gpu.c
    M clang/test/Driver/openmp-offload.c

  Log Message:
  -----------
  [Driver] -fopenmp-targets=: stabilize OrderedOffloadingToolchains value order

to make actions deterministic.
StringSet iteration order is not guaranteed to be deterministic
(https://llvm.org/docs/ProgrammersManual.html#llvm-adt-stringmap-h).




More information about the All-commits mailing list