[all-commits] [llvm/llvm-project] 324732: [openmp] Add addrspacecast to getOrCreateIdent
Jon Chesterfield via All-commits
all-commits at lists.llvm.org
Thu Sep 30 13:36:56 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 32473291072504f306f8d1f20db460b15e395f7c
https://github.com/llvm/llvm-project/commit/32473291072504f306f8d1f20db460b15e395f7c
Author: Jon Chesterfield <jonathanchesterfield at gmail.com>
Date: 2021-09-30 (Thu, 30 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. Adds a missing CreatePointerCast and allocates a global in
the correct address space.
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