[OpenMP] Replace HeapToShared's initial value with `poison`
authorJoseph Huber <jhuber6@vols.utk.edu>
Thu, 6 Apr 2023 16:18:47 +0000 (11:18 -0500)
committerJoseph Huber <jhuber6@vols.utk.edu>
Fri, 14 Apr 2023 14:39:32 +0000 (09:39 -0500)
commit46ee1021d976e052476c1373fc22d77f10f8cbcb
tree5721d0162776be76a9f4cf65cce88d6e1c069c39
parent0979ea9235ee26cfcd8a0c13839380af30f13047
[OpenMP] Replace HeapToShared's initial value with `poison`

There's a desire to move away from `undef` in LLVM. Currently we want to
have the `addressspace(3)` variables use `poison` instead.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D147719
llvm/lib/Transforms/IPO/OpenMPOpt.cpp
llvm/test/Transforms/OpenMP/replace_globalization.ll
llvm/test/Transforms/OpenMP/spmdization.ll