commit | 3a534bc157e039e32d4c664dd32bcb7c05959231 | [log] [tgz] |
---|---|---|
author | Jon Chesterfield <jonathanchesterfield@gmail.com> | Thu Sep 30 21:36:30 2021 +0100 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Sep 30 13:47:11 2021 -0700 |
tree | 2201dff0b5d24066c3df2082ee7a10b5566a52a5 | |
parent | 01118d78088bd3db50fdda926f239ddf39294698 [diff] |
[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 GitOrigin-RevId: 32473291072504f306f8d1f20db460b15e395f7c