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

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 21 08:34:58 PST 2026


================
@@ -0,0 +1,47 @@
+; NOTE: Do not autogenerate
+; RUN: llc -O1 -debug -global-isel -mtriple=aarch64-unknown-linux-gnu -o /dev/null %s 2>&1 | FileCheck %s --check-prefix=LLC-Ox
+; RUN: llc -O2 -debug -global-isel -mtriple=aarch64-unknown-linux-gnu -o /dev/null %s 2>&1 | FileCheck %s --check-prefix=LLC-Ox
+; RUN: llc -O3 -debug -global-isel -mtriple=aarch64-unknown-linux-gnu -o /dev/null %s 2>&1 | FileCheck %s --check-prefix=LLC-Ox
----------------
arsenm wrote:

```suggestion
; RUN: llc -O1 -debug -global-isel -mtriple=aarch64-unknown-linux-gnu -filetype=null %s 2>&1 | FileCheck %s --check-prefix=LLC-Ox
; RUN: llc -O2 -debug -global-isel -mtriple=aarch64-unknown-linux-gnu -filetype=null %s 2>&1 | FileCheck %s --check-prefix=LLC-Ox
; RUN: llc -O3 -debug -global-isel -mtriple=aarch64-unknown-linux-gnu -filetype=null %s 2>&1 | FileCheck %s --check-prefix=LLC-Ox
```

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


More information about the llvm-commits mailing list