[all-commits] [llvm/llvm-project] 74e6ce: [Frontend] Allow OpenMP offloading to aarch64

Bryan Chan via All-commits all-commits at lists.llvm.org
Sun Dec 8 11:45:48 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 74e6ce2529fae2c3318731c6f4f77bfa92eb6eb7
      https://github.com/llvm/llvm-project/commit/74e6ce2529fae2c3318731c6f4f77bfa92eb6eb7
  Author: Bryan Chan <bryan.chan at huawei.com>
  Date:   2019-12-08 (Sun, 08 Dec 2019)

  Changed paths:
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/test/OpenMP/openmp_offload_registration.cpp

  Log Message:
  -----------
  [Frontend] Allow OpenMP offloading to aarch64

Summary:
D30644 added OpenMP offloading to AArch64 targets, then D32035 changed the
frontend to throw an error when offloading is requested for an unsupported
target architecture. However the latter did not include AArch64 in the list
of supported architectures, causing the following unit tests to fail:

    libomptarget :: api/omp_get_num_devices.c
    libomptarget :: mapping/pr38704.c
    libomptarget :: offloading/offloading_success.c
    libomptarget :: offloading/offloading_success.cpp

Reviewers: pawosm01, gtbercea, jdoerfert, ABataev

Subscribers: kristof.beyls, guansong, cfe-commits

Tags: #clang

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




More information about the All-commits mailing list