[clang] [llvm] Add emitAtomicCompareExchangeBuiltin helper function (PR #101966)

2024-08-12 Thread Michael Kruse via cfe-commits
Meinersbur wrote: `TargetLibraryInfoImpl` is not contained in the backends, but implemented entirely in [`TargetLibraryInfo.cpp`](https://github.com/llvm/llvm-project/blob/main/llvm/lib/Analysis/TargetLibraryInfo.cpp). `TargetLowering` is implemented in the backend, but is also optional. If

[clang] [llvm] Add emitAtomicCompareExchangeBuiltin helper function (PR #101966)

2024-08-12 Thread Nikita Popov via cfe-commits
nikic wrote: The TLI dependency in Clang CodeGen is a pretty substantial departure from how things currently work -- with the major implication that you can no longer reliably run codegen for a target for which the corresponding LLVM backend has not been compiled. Currently, codegen tests assu

[clang] [llvm] Add emitAtomicCompareExchangeBuiltin helper function (PR #101966)

2024-08-05 Thread via cfe-commits
github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your code. :warning: You can test this locally with the following command: ``bash git-clang-format --diff 04f65043bc8711996a4ade05c67ae2d087ae8be5 ee84c6bb3146d25f21c14d6d8e0abb794683f5ec --e