[all-commits] [llvm/llvm-project] 08513c: [OpenMP] Fix lvalue reference type generation in u...

eastB233 via All-commits all-commits at lists.llvm.org
Thu Jun 29 09:16:19 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 08513cbea4dc1fe10ee864b8fd8c1eccd7917490
      https://github.com/llvm/llvm-project/commit/08513cbea4dc1fe10ee864b8fd8c1eccd7917490
  Author: Zhiheng Xie <eastb233 at qq.com>
  Date:   2023-06-29 (Thu, 29 Jun 2023)

  Changed paths:
    M clang/lib/CodeGen/CGStmtOpenMP.cpp
    A clang/test/OpenMP/taskloop_untied_codegen.cpp

  Log Message:
  -----------
  [OpenMP] Fix lvalue reference type generation in untied task loop

For variables with lvalue reference type in untied task loop,
it now wrongly sets its actual type as ElementType. It should
be converted to pointer type.

It fixes https://github.com/llvm/llvm-project/issues/62965

Reviewed By: ABataev

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




More information about the All-commits mailing list