[llvm] [AArch64] Unrolling of loops with vector instructions. (PR #147420)

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 11 04:00:01 PDT 2025


================
@@ -0,0 +1,258 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
+; RUN: opt -p loop-unroll -mtriple=arm64-apple-macosx -mcpu=apple-m1 -S %s | FileCheck --check-prefix=APPLE %s
+; RUN: opt -p loop-unroll -S %s -mtriple aarch64 | FileCheck %s -check-prefix=GENERIC
----------------
artagnon wrote:

```suggestion
; RUN: opt -p loop-unroll -mtriple=arm64-apple-macosx -mcpu=apple-m1 -S %s | FileCheck --check-prefixes=COMMON,APPLE %s
; RUN: opt -p loop-unroll -S %s -mtriple aarch64 | FileCheck %s -check-prefixes=COMMON,GENERIC
```

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


More information about the llvm-commits mailing list