[llvm] cc81d46 - [AArch64] Add -global-isel runlines to ZCZ tests(NFC) (#200797)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 8 05:09:09 PDT 2026
Author: Tomer Shafir
Date: 2026-06-08T15:09:04+03:00
New Revision: cc81d46beef87d836f298ae378b67965402833df
URL: https://github.com/llvm/llvm-project/commit/cc81d46beef87d836f298ae378b67965402833df
DIFF: https://github.com/llvm/llvm-project/commit/cc81d46beef87d836f298ae378b67965402833df.diff
LOG: [AArch64] Add -global-isel runlines to ZCZ tests(NFC) (#200797)
ZCZ lowering relies on ISel (for FPR - pseudo instruction pattern
matching, for GPR - canonical form pattern matching). This patch adds a
representative -global-isel runlines to catch possible regressions,
though these are not very likely because both selectors should share the
patterns.
Added:
Modified:
llvm/test/CodeGen/AArch64/arm64-zero-cycle-zeroing-fpr.ll
llvm/test/CodeGen/AArch64/arm64-zero-cycle-zeroing-gpr.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/AArch64/arm64-zero-cycle-zeroing-fpr.ll b/llvm/test/CodeGen/AArch64/arm64-zero-cycle-zeroing-fpr.ll
index 643e4ae9092df..ecf75cdfd2714 100644
--- a/llvm/test/CodeGen/AArch64/arm64-zero-cycle-zeroing-fpr.ll
+++ b/llvm/test/CodeGen/AArch64/arm64-zero-cycle-zeroing-fpr.ll
@@ -9,6 +9,9 @@
; RUN: llc < %s -mtriple=aarch64-linux-gnu -mcpu=kryo | FileCheck %s --match-full-lines -check-prefixes=ALL,ZCZ-FPR64
; RUN: llc < %s -mtriple=aarch64-linux-gnu -mcpu=falkor | FileCheck %s --match-full-lines -check-prefixes=ALL,ZCZ-FPR64
+;; Test Global ISel
+; RUN: llc < %s -mtriple=arm64-apple-macosx -mcpu=apple-m5 -global-isel | FileCheck %s --match-full-lines -check-prefixes=ALL,NOZCZ-FPR64-ZCZ-FPR128
+
define half @tf16() {
entry:
; ALL-LABEL: {{_?}}tf16:{{ *(;|//) *}}@tf16
diff --git a/llvm/test/CodeGen/AArch64/arm64-zero-cycle-zeroing-gpr.ll b/llvm/test/CodeGen/AArch64/arm64-zero-cycle-zeroing-gpr.ll
index 1469e9486df16..236a766b88818 100644
--- a/llvm/test/CodeGen/AArch64/arm64-zero-cycle-zeroing-gpr.ll
+++ b/llvm/test/CodeGen/AArch64/arm64-zero-cycle-zeroing-gpr.ll
@@ -8,6 +8,9 @@
; RUN: llc < %s -mtriple=aarch64-linux-gnu -mcpu=kryo | FileCheck %s --match-full-lines -check-prefixes=ALL,ZCZ-GPR32,ZCZ-GPR64
; RUN: llc < %s -mtriple=aarch64-linux-gnu -mcpu=falkor | FileCheck %s --match-full-lines -check-prefixes=ALL,ZCZ-GPR32,ZCZ-GPR64
+;; Test Global ISel
+; RUN: llc < %s -mtriple=arm64-apple-macosx -mcpu=apple-m5 -global-isel | FileCheck %s --match-full-lines -check-prefixes=ALL,ZCZ-GPR32,ZCZ-GPR64
+
define i8 @ti8() {
entry:
; ALL-LABEL: {{_?}}ti8:{{ *(;|//) *}}@ti8
More information about the llvm-commits
mailing list