[all-commits] [llvm/llvm-project] fa280c: [OpenMP] In libomptarget, assume alignment at powe...

Joel E. Denny via All-commits all-commits at lists.llvm.org
Tue May 2 06:46:09 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fa280c199420729330454e655335fcdf49522042
      https://github.com/llvm/llvm-project/commit/fa280c199420729330454e655335fcdf49522042
  Author: Joel E. Denny <jdenny.ornl at gmail.com>
  Date:   2023-05-02 (Tue, 02 May 2023)

  Changed paths:
    M openmp/libomptarget/src/omptarget.cpp
    A openmp/libomptarget/test/mapping/power_of_two_alignment.c

  Log Message:
  -----------
  [OpenMP] In libomptarget, assume alignment at powers of two

This patch fixes a bug introduced by D142586, which landed as
434992c96ed1.  The fix was to only look for alignments that are powers
of 2.  See the new test case for details.

Reviewed By: jdoerfert, jhuber6

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




More information about the All-commits mailing list