[llvm] [AArch64] Fix a typo in predicate expression (NFC) (PR #78162)

Momchil Velikov via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 15 05:52:31 PST 2024


https://github.com/momchil-velikov created https://github.com/llvm/llvm-project/pull/78162

This would cause compiler errors if ISel tried to match affected instructions.

>From 79d4728e2e6487b4bc5bbc5d55303303e20b27ba Mon Sep 17 00:00:00 2001
From: Momchil Velikov <momchil.velikov at arm.com>
Date: Mon, 15 Jan 2024 13:46:19 +0000
Subject: [PATCH] [AArch64] Fix a typo in predicate expression (NFC)

This would cause compiler errors if ISel tried to match affected
instructions.
---
 llvm/lib/Target/AArch64/AArch64InstrInfo.td | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/lib/Target/AArch64/AArch64InstrInfo.td b/llvm/lib/Target/AArch64/AArch64InstrInfo.td
index 3f4875998fc0045..e2e7cf1aab07eee 100644
--- a/llvm/lib/Target/AArch64/AArch64InstrInfo.td
+++ b/llvm/lib/Target/AArch64/AArch64InstrInfo.td
@@ -173,7 +173,7 @@ def HasFAMINMAX      : Predicate<"Subtarget->hasFAMINMAX()">,
                                  AssemblerPredicateWithAll<(all_of FeatureFAMINMAX), "faminmax">;
 def HasFP8FMA        : Predicate<"Subtarget->hasFP8FMA()">,
                                  AssemblerPredicateWithAll<(all_of FeatureFP8FMA), "fp8fma">;
-def HasSSVE_FP8FMA   : Predicate<"Subtarget->SSVE_FP8FMA() || "
+def HasSSVE_FP8FMA   : Predicate<"Subtarget->hasSSVE_FP8FMA() || "
                                  "(Subtarget->hasSVE2() && Subtarget->hasFP8FMA())">,
                                  AssemblerPredicateWithAll<(any_of FeatureSSVE_FP8FMA,
                                                            (all_of FeatureSVE2, FeatureFP8FMA)),



More information about the llvm-commits mailing list