[OpenMP][NFC] Clean up Twines and other issues in plugins
authorJoseph Huber <jhuber6@vols.utk.edu>
Wed, 1 Mar 2023 21:02:00 +0000 (15:02 -0600)
committerJoseph Huber <jhuber6@vols.utk.edu>
Wed, 1 Mar 2023 21:03:21 +0000 (15:03 -0600)
commit48d5ad93cd6921de498a00421d696dba33fac7e4
tree23937c5cd17cd2e1f41cc1c38b989d3a48e15bf8
parente65e7b27fdcc286c799e748fa51dccdf39321ee3
[OpenMP][NFC] Clean up Twines and other issues in plugins

Summary:
Tihs patch is mostly NFC to fix some warning currently present in OpenMP
offloading plugins. Specifically this mostly removes the use of Twine
variables in favor of LLVM's small string. Twine variables are prone to
use-after-free and this is a cleaner way to concatenate a string.
llvm/include/llvm/Frontend/OpenMP/OMPGridValues.h
openmp/libomptarget/plugins-nextgen/amdgpu/src/rtl.cpp
openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp