[llvm] [AArch64] Use 0-cycle reg2reg MOVs for FPR32, FPR16, FPR8 (PR #144152)

Jon Roelofs via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 18 11:05:29 PDT 2025


================
@@ -0,0 +1,45 @@
+; RUN: llc < %s -march=arm64 | FileCheck %s -check-prefixes=NOTCPU --match-full-lines
+; RUN: llc < %s -mtriple=arm64-apple-macosx -mcpu=apple-m1 | FileCheck %s -check-prefixes=CPU --match-full-lines
+; RUN: llc < %s -mtriple=arm64-apple-macosx -mcpu=apple-m1 -mattr=-zcm | FileCheck %s -check-prefixes=NOTATTR --match-full-lines
+; RUN: llc < %s -mtriple=arm64-apple-macosx -mattr=+zcm | FileCheck %s -check-prefixes=ATTR --match-full-lines
+
+define void @t(float %a, float %b, float %c, float %d) {
----------------
jroelofs wrote:

I'd put these two tests in the same file, with the functions named after what they're checking.

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


More information about the llvm-commits mailing list