[all-commits] [llvm/llvm-project] 9d2378: [OpenMP] Add Error Handling for Conflicting Pointe...

Joseph Huber via All-commits all-commits at lists.llvm.org
Wed Sep 30 11:00:04 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9d2378b59150f6f1cb5c9cf42ea06b0bb57029a1
      https://github.com/llvm/llvm-project/commit/9d2378b59150f6f1cb5c9cf42ea06b0bb57029a1
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticDriverKinds.td
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/test/OpenMP/nvptx_target_parallel_reduction_codegen_tbaa_PR46146.cpp
    A clang/test/OpenMP/target_incompatible_architecture_messages.cpp

  Log Message:
  -----------
  [OpenMP] Add Error Handling for Conflicting Pointer Sizes for Target Offload

Summary:
This patch adds an error to Clang that detects if OpenMP offloading is used
between two architectures with incompatible pointer sizes. This ensures that
the data mapping can be done correctly and solves an issue in code generation
generating the wrong size pointer.

Reviewer: jdoerfert

Subscribers:

Tags: #OpenMP #Clang

Differential Revision:




More information about the All-commits mailing list