[all-commits] [llvm/llvm-project] ede248: [OpenMP][FIX] The `llvm.amdgcn.s.barrier` is actua...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Fri Feb 11 10:44:12 PST 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ede248e614bb2c232b7b1815829eb3d5c1aab1e4
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2022-02-11 (Fri, 11 Feb 2022)

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

  Log Message:
  [OpenMP][FIX] The `llvm.amdgcn.s.barrier` is actually not aligned

If we assume `llvm.amdgcn.s.barrier` is aligned we may remove it and
cause OpenMP GPU applications on the AMD GPU to be stuck or wrongly

Reported by Carlo Bertolli.

More information about the All-commits mailing list