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

David Green via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 7 23:58:53 PST 2026


================
@@ -0,0 +1,24 @@
+; NOTE: Do not autogenerate
+; RUN: llc -mtriple=aarch64-linux-gnu -O2 -verify-machineinstrs -debug %s -o - 2>&1 | FileCheck %s --check-prefix=GISEL
+; REQUIRES: asserts
+
+; Check both an optnone function and a non-optnone function to ensure that only
+; the optnone functions is routed through GlobalISel
+
+; Function Attrs: noinline nounwind optnone uwtable
----------------
davemgreen wrote:

Can remove Function Attrs

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


More information about the llvm-commits mailing list