[all-commits] [llvm/llvm-project] 7986a5: [OpenMP] Add RTL function to externalization RAII

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Nov 30 07:19:28 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7986a5f23ebbf7fc3c6d667610fd193288dba7ce
      https://github.com/llvm/llvm-project/commit/7986a5f23ebbf7fc3c6d667610fd193288dba7ce
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2021-11-30 (Tue, 30 Nov 2021)

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

  Log Message:
  -----------
  [OpenMP] Add RTL function to externalization RAII

This patch adds the `__kmpc_get_warp_size` OpenMP RTL function to the
externalization RAII struct. This was getting optimized out and then
being replaced with an undefined value once added back in, causing bugs
for complex reductions.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D114802




More information about the All-commits mailing list