[all-commits] [llvm/llvm-project] 5a6479: [OpenMP][NVPTX] Added the missing -O1 when buildin...

Shilei Tian via All-commits all-commits at lists.llvm.org
Thu Jan 28 05:18:08 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5a64794bbad4010778406dfee7748e6080258dbf
      https://github.com/llvm/llvm-project/commit/5a64794bbad4010778406dfee7748e6080258dbf
  Author: Shilei Tian <tianshilei1992 at gmail.com>
  Date:   2021-01-28 (Thu, 28 Jan 2021)

  Changed paths:
    M openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt

  Log Message:
  -----------
  [OpenMP][NVPTX] Added the missing -O1 when building NVPTX bitcode libraries

In the past `-O1` was used when building NVPTX bitcode libraries. After
we switched to OpenMP, `-O1` was missing by mistake, leading to a huge performance
regression.

Reviewed By: JonChesterfield

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




More information about the All-commits mailing list