diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2022-02-07 16:41:35 -0500 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2022-02-07 17:12:00 -0500 |
commit | d28051c4ab44141d7c52902de500dfe1293d3de2 (patch) | |
tree | c738b5227a3527a62d3bd21f095ae11496d1c74c /llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp | |
parent | 260fbffe62296f97aad4f9ff0ff792bc642b7965 (diff) | |
download | llvm-d28051c4ab44141d7c52902de500dfe1293d3de2.zip llvm-d28051c4ab44141d7c52902de500dfe1293d3de2.tar.gz llvm-d28051c4ab44141d7c52902de500dfe1293d3de2.tar.bz2 |
[Libomptarget] Replace Value RAII with default value
This patch replaces the ValueRAII pointer with a default 'nullptr'
value. Previously this was initialized as a reference to an existing
variable. The use of this variable caused overhead as the compiler could
not look through the uses and determine that it was unused if 'Active'
was not set. Because of this accesses to the variable would be left in
the runtime once compiled.
Fixes #53641
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D119187
Diffstat (limited to 'llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp')
0 files changed, 0 insertions, 0 deletions