[llvm] [AArch64] Move SME_ZA_LDR and SME_ZA_STR into FIRST_TARGET_MEMORY_OPCODE. NFCI (PR #120091)

David Green via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 16 06:35:19 PST 2024


https://github.com/davemgreen created https://github.com/llvm/llvm-project/pull/120091

These opcodes are currently in the "strictfp" section. They should either be in "memory", or moved into the generic ocodes.

Note that isTargetMemoryOpcode/FIRST_TARGET_MEMORY_OPCODE doesn't seem to be used for anything at the moment.

>From 86cb50a04a0d5713a85ffc3e6fda7e70ac0bf9e6 Mon Sep 17 00:00:00 2001
From: David Green <david.green at arm.com>
Date: Mon, 16 Dec 2024 14:26:01 +0000
Subject: [PATCH] [AArch64] Move SME_ZA_LDR and SME_ZA_STR into
 FIRST_TARGET_MEMORY_OPCODE. NFCI

These opcodes are currently in the strictfp section. They should either be in
memory, or moved into the generic ocodes.
---
 llvm/lib/Target/AArch64/AArch64ISelLowering.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/llvm/lib/Target/AArch64/AArch64ISelLowering.h b/llvm/lib/Target/AArch64/AArch64ISelLowering.h
index d51b36f7e49946..4ab8e0103fa2cd 100644
--- a/llvm/lib/Target/AArch64/AArch64ISelLowering.h
+++ b/llvm/lib/Target/AArch64/AArch64ISelLowering.h
@@ -480,10 +480,6 @@ enum NodeType : unsigned {
   STRICT_FCMP = ISD::FIRST_TARGET_STRICTFP_OPCODE,
   STRICT_FCMPE,
 
-  // SME ZA loads and stores
-  SME_ZA_LDR,
-  SME_ZA_STR,
-
   // NEON Load/Store with post-increment base updates
   LD2post = ISD::FIRST_TARGET_MEMORY_OPCODE,
   LD3post,
@@ -520,6 +516,10 @@ enum NodeType : unsigned {
   STP,
   STILP,
   STNP,
+
+  // SME ZA loads and stores
+  SME_ZA_LDR,
+  SME_ZA_STR,
 };
 
 } // end namespace AArch64ISD



More information about the llvm-commits mailing list