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

Jacob Lambert via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 6 13:39:41 PST 2023


lamb-j wrote:

I am getting this from the formatter:

-  void RunOptimizationPipeline(BackendAction Action,
-                          std::unique_ptr<raw_pwrite_stream> &OS,
-                          std::unique_ptr<llvm::ToolOutputFile> &ThinLinkOS,
-                          BackendConsumer *BC);
+  void RunOptimizationPipeline(
+      BackendAction Action, std::unique_ptr<raw_pwrite_stream> &OS,
+      std::unique_ptr<llvm::ToolOutputFile> &ThinLinkOS, BackendConsumer *BC);

But in this case I am just following the existing style. I did notice a couple of other improvements from the formatter though, and I've added those changes.

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


More information about the cfe-commits mailing list