[OpenMP][FIX] Remove AssertingVHs that outlive their values
authorJohannes Doerfert <johannes@jdoerfert.de>
Thu, 8 Dec 2022 01:41:00 +0000 (17:41 -0800)
committerJohannes Doerfert <johannes@jdoerfert.de>
Thu, 8 Dec 2022 02:27:55 +0000 (18:27 -0800)
commit61339427961a4399174e3e69240de7d1ad403046
tree617b8e121e855247847ce64b0822e1bc12ef18df
parentecd0337854b98014df1953f644650480a898e7de
[OpenMP][FIX] Remove AssertingVHs that outlive their values

The map with AssertingVHs has been moved into the OpenMPIRBuilder which extended their lifetime.
On NVIDIA this will cause an assertion. This simply removes the AssertingVH wrapper.
clang/test/OpenMP/target_codegen_ref_assertion_vh.cpp [new file with mode: 0644]
llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h