This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Add RTL function to externalization RAII

Authored by jhuber6 on Nov 30 2021, 7:17 AM.



This patch adds the __kmpc_get_warp_size OpenMP RTL function to the
externalization RAII struct. This was getting optimized out and then
being replaced with an undefined value once added back in, causing bugs
for complex reductions.

Diff Detail