[all-commits] [llvm/llvm-project] 232ce9: [OpenMP][FIX] Adjust "known" attributes for runtim...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Fri Jul 14 17:02:15 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 232ce90541fe1bd1aa96319b36d8fe5b5344a52b
      https://github.com/llvm/llvm-project/commit/232ce90541fe1bd1aa96319b36d8fe5b5344a52b
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2023-07-14 (Fri, 14 Jul 2023)

  Changed paths:
    M clang/test/OpenMP/barrier_codegen.cpp
    M llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
    M llvm/test/Transforms/OpenMP/add_attributes.ll

  Log Message:
  -----------
  [OpenMP][FIX] Adjust "known" attributes for runtime functions

This showed up when we started to deduce readnone for the argument of
__kmpc_global_thread_num. The known attributes for "getters" did not
allow to read arguments, but that is sometimes the case.




More information about the All-commits mailing list