[PATCH] D157750: Properly handle -fsplit-machine-functions for fatbinary compilation

Han Shen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 11 14:58:03 PDT 2023


shenhan added inline comments.


================
Comment at: llvm/lib/CodeGen/TargetPassConfig.cpp:1278
     }
-    addPass(createMachineFunctionSplitterPass());
+    if (TM->getTargetTriple().isX86())
+      addPass(createMachineFunctionSplitterPass());
----------------
snehasish wrote:
> Can you coordinate with @dhoekwater ? He has some patches in flight for AArch64. 
> 
> I think D157157 is the one which modifies the same logic.
Thanks. Yes, I'll coordinate with @dhoekwater before resolving this.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D157750/new/

https://reviews.llvm.org/D157750



More information about the cfe-commits mailing list