diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2023-01-25 16:20:16 -0600 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2023-01-25 16:24:30 -0600 |
commit | 11656f204aa5fd972564e76641c00ca058ba8c0d (patch) | |
tree | ae37b8fec567443e1307b456bf02a4350c0470a9 /llvm/lib/Transforms/Utils/Local.cpp | |
parent | f2916becc572047915f537c9abc2b04562c4bdb8 (diff) | |
download | llvm-11656f204aa5fd972564e76641c00ca058ba8c0d.zip llvm-11656f204aa5fd972564e76641c00ca058ba8c0d.tar.gz llvm-11656f204aa5fd972564e76641c00ca058ba8c0d.tar.bz2 |
[CUDA] Fix output from `ptxas` being removes as a temporary file
Summary:
The logic here is to add the `.cubin` temporary file if we had to create
a new filename to handle it. Unfortuantely the logic was wrong because
we compare `const char *` values here. This logic seems to have been
wrong for some time, but was never noticed since we never used the
relocatable output.
Fixes https://github.com/llvm/llvm-project/issues/60301
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions