[all-commits] [llvm/llvm-project] 5ba324: [OPENMP]Fix PR48174: compile-time crash with targ...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Wed Nov 18 07:50:02 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5ba324ccadce35a146b0c04e90d6414c3dc42546
      https://github.com/llvm/llvm-project/commit/5ba324ccadce35a146b0c04e90d6414c3dc42546
  Author: Alexey Bataev <a.bataev at hotmail.com>
  Date:   2020-11-18 (Wed, 18 Nov 2020)

  Changed paths:
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp
    A clang/test/OpenMP/target_data_map_pointer_array_subscript_codegen.cpp

  Log Message:
  -----------
  [OPENMP]Fix PR48174:  compile-time crash with target enter data on a global struct.

The compiler should treat array subscript with base pointer as a first
pointer in complex data, it is used only for member expression with base
pointer.

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




More information about the All-commits mailing list