[llvm] [AArch64] Use GISel for optnone functions (PR #174746)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 26 06:32:43 PST 2026


================
@@ -99,6 +99,9 @@ MachineDominatorTreeWrapperPass::MachineDominatorTreeWrapperPass()
 char &llvm::MachineDominatorsID = MachineDominatorTreeWrapperPass::ID;
 
 bool MachineDominatorTreeWrapperPass::runOnMachineFunction(MachineFunction &F) {
+  if (F.empty())
+    return false;
----------------
arsenm wrote:

Can you assert this is failed isel

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


More information about the llvm-commits mailing list