aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/TargetLibraryInfo.cpp
diff options
context:
space:
mode:
authorFraser Cormack <fraser@codeplay.com>2024-04-11 17:09:07 +0100
committerAlexey Bataev <a.bataev@outlook.com>2024-04-11 10:56:45 -0700
commit9029e6ebdfd98a58b5c5646fd534c6c849148cda (patch)
tree78a921e7d6765113f7bc12ed443b68d1b59744ab /llvm/lib/Analysis/TargetLibraryInfo.cpp
parent03f619da077bca72bb3b0d978a1f50a2fade2750 (diff)
downloadllvm-9029e6ebdfd98a58b5c5646fd534c6c849148cda.zip
llvm-9029e6ebdfd98a58b5c5646fd534c6c849148cda.tar.gz
llvm-9029e6ebdfd98a58b5c5646fd534c6c849148cda.tar.bz2
[libclc] Refactor build system to allow in-tree builds (#87622)
The previous build system was adding custom "OpenCL" and "LLVM IR" languages in CMake to build the builtin libraries. This was making it harder to build in-tree because the tool binaries needed to be present at configure time. This commit refactors the build system to use custom commands to build the bytecode files one by one, and link them all together into the final bytecode library. It also enables in-tree builds by aliasing the clang/llvm-link/etc. tool targets to internal targets, which are imported from the LLVM installation directory when building out of tree. Diffing (with llvm-diff) all of the final bytecode libraries in an out-of-tree configuration against those built using the current tip system shows no changes. Note that there are textual changes to metadata IDs which confuse regular diff, and that llvm-diff 14 and below may show false-positives. This commit also removes a file listed in one of the SOURCEs which didn't exist and which was preventing the use of ENABLE_RUNTIME_SUBNORMAL when configuring CMake.
Diffstat (limited to 'llvm/lib/Analysis/TargetLibraryInfo.cpp')
0 files changed, 0 insertions, 0 deletions