aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorJakub Chlanda <jakub@codeplay.com>2025-07-23 09:45:11 +0200
committerGitHub <noreply@github.com>2025-07-23 09:45:11 +0200
commit073460a2a35c7f0d9aa643e3043fccd62f094c9e (patch)
tree294371cd66a17a66526292b4fc8912d57aec764d /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentd385e9d86bce21679ac04b1c6abde0182f1d9e03 (diff)
downloadllvm-073460a2a35c7f0d9aa643e3043fccd62f094c9e.zip
llvm-073460a2a35c7f0d9aa643e3043fccd62f094c9e.tar.gz
llvm-073460a2a35c7f0d9aa643e3043fccd62f094c9e.tar.bz2
[HIP][Clang][Driver] Move BC preference logic into ROCm detection (#149294)
This patch provides a single point for handling the logic behind choosing common bitcode libraries. The intention is that the users of ROCm installation detector will not have to rewrite options handling code each time the bitcode libraries are queried. This is not too distant from detectors for other architecture that encapsulate the similar decision making process, providing cleaner interface. The only flag left in `getCommonBitcodeLibs` (main point of entry) is `NeedsASanRT`, this is deliberate, as in order to calculate it we need to consult `ToolChain`.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions