[all-commits] [llvm/llvm-project] 9e3842: [OPENMP]Fix codegen for is_device_ptr component, c...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Tue Sep 15 14:40:39 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9e3842d60351f986d77dfe0a94f76e4fd895f188
      https://github.com/llvm/llvm-project/commit/9e3842d60351f986d77dfe0a94f76e4fd895f188
  Author: Alexey Bataev <a.bataev at hotmail.com>
  Date:   2020-09-15 (Tue, 15 Sep 2020)

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

  Log Message:
  -----------
  [OPENMP]Fix codegen for is_device_ptr component, captured by reference.

Need to map the component as TO instead of the literal, because need to
pass a reference to a component if the pointer is overaligned.

Reviewed By: jdoerfert

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




More information about the All-commits mailing list