diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2021-06-24 20:42:31 -0400 |
---|---|---|
committer | Huber, Joseph <huberjn@ornl.gov> | 2021-06-28 16:47:53 -0400 |
commit | 57ad2e106767f298a0248a5894fcb3581f533f93 (patch) | |
tree | 3a55226073cccc63fce6ba95f5ac1639f67f465b /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 5bc9cc1332aa042b68fb5efa9fb50eaaf2d54f79 (diff) | |
download | llvm-57ad2e106767f298a0248a5894fcb3581f533f93.zip llvm-57ad2e106767f298a0248a5894fcb3581f533f93.tar.gz llvm-57ad2e106767f298a0248a5894fcb3581f533f93.tar.bz2 |
[OpenMP] Prevent OpenMPOpt from internalizing uncalled functions
Currently OpenMPOpt will only check if a function is a kernel before deciding not to internalize it. Any uncalled function that gets internalized will be trivially dead in the module so this is unnnecessary.
Depends on D102423
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D104890
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions