[all-commits] [llvm/llvm-project] 1a761e: [openmp] Add addrspacecast to getOrCreateIdent

Jon Chesterfield via All-commits all-commits at lists.llvm.org
Mon Sep 27 11:23:41 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a761e5b7b50dc08e0ff7f7aea65e1da29c5cd80
      https://github.com/llvm/llvm-project/commit/1a761e5b7b50dc08e0ff7f7aea65e1da29c5cd80
  Author: Jon Chesterfield <jonathanchesterfield at gmail.com>
  Date:   2021-09-27 (Mon, 27 Sep 2021)

  Changed paths:
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    A openmp/libomptarget/test/offloading/bug51982.c

  Log Message:
  -----------
  [openmp] Add addrspacecast to getOrCreateIdent

Fixes 51982. Minor refactor to remove `return x = y` construct.

Test case derived from https://github.com/ROCm-Developer-Tools/aomp/\
blob/aomp-dev/test/smoke/nest_call_par2/nest_call_par2.c by deleting
parts while checking the assertion failure still occurred.

Reviewed By: jdoerfert

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




More information about the All-commits mailing list