[all-commits] [llvm/llvm-project] 6fc51c: [OpenMP] Replace GPU globalization calls with shar...

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Jun 22 09:10:06 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6fc51c9f7d6647ba78e5a235e7d8bfcf3ab2ede0
      https://github.com/llvm/llvm-project/commit/6fc51c9f7d6647ba78e5a235e7d8bfcf3ab2ede0
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2021-06-22 (Tue, 22 Jun 2021)

  Changed paths:
    M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
    A llvm/test/Transforms/OpenMP/replace_globalization.ll

  Log Message:
  -----------
  [OpenMP] Replace GPU globalization calls with shared memory in the middle-end

Summary:
The changes introduced in D97680 create a simpler interface to code that needs
to be globalized. This interface is used to simplify the globalization calls in
the middle end. We can check any globalization call that is only called by a
single thread in the team and replace it with a static shared memory buffer.

Reviewed By: jdoerfert

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




More information about the All-commits mailing list