[clang] Correctly link and optimize device libraries with -mlink-builtin-bitcode (PR #69371)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 6 14:34:43 PST 2023


jhuber6 wrote:

> That said, I definitely don't want this to be a barrier to getting this patch in, so if you still feel like we should go with the clang-format recommendation, I'll change it and also update the EmitAssembly and EmitBackendOutput signatures which were flagged by clang-format for the same reasons.

You should generally just go with what `clang-format` says unless there's a compelling reason not to. There's a reason the CI complains if `git clang-format HEAD~1` doesn't come back clean.

https://github.com/llvm/llvm-project/pull/69371


More information about the cfe-commits mailing list