From 419a21609444aa81e335254998f24099dc4a3c1f Mon Sep 17 00:00:00 2001 From: Lucas Prates Date: Tue, 20 Dec 2022 14:23:28 +0000 Subject: [PATCH] [NFC][AArch64] Adjust comments in tablegen file --- llvm/lib/Target/AArch64/AArch64InstrFormats.td | 8 ++++---- llvm/lib/Target/AArch64/AArch64InstrInfo.td | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/llvm/lib/Target/AArch64/AArch64InstrFormats.td b/llvm/lib/Target/AArch64/AArch64InstrFormats.td index 9e64b21..0a24896 100644 --- a/llvm/lib/Target/AArch64/AArch64InstrFormats.td +++ b/llvm/lib/Target/AArch64/AArch64InstrFormats.td @@ -11708,6 +11708,10 @@ multiclass MOPSMemorySetTaggingInsns opcode, string asm> { def TN : MOPSMemorySetTagging; } +//---------------------------------------------------------------------------- +// 2022 Armv8.9/Armv9.4 Extensions +//---------------------------------------------------------------------------- + //--- // 2022 Architecture Extensions: General Data Processing (FEAT_CSSC) //--- @@ -11772,10 +11776,6 @@ multiclass ComparisonOp; } -//---------------------------------------------------------------------------- -// 2022 Armv8.9/Armv9.4 Extensions -//---------------------------------------------------------------------------- - //--- // RCPC instructions (FEAT_LRCPC3) //--- diff --git a/llvm/lib/Target/AArch64/AArch64InstrInfo.td b/llvm/lib/Target/AArch64/AArch64InstrInfo.td index 3e24bcd4..66b03ea 100644 --- a/llvm/lib/Target/AArch64/AArch64InstrInfo.td +++ b/llvm/lib/Target/AArch64/AArch64InstrInfo.td @@ -8571,11 +8571,15 @@ def : Pat<(AArch64AssertZExtBool GPR32:$op), //===----------------------------===// // 2022 Architecture Extensions: //===----------------------------===// + def : InstAlias<"clrbhb", (HINT 22), 0>; let Predicates = [HasCLRBHB] in { def : InstAlias<"clrbhb", (HINT 22), 1>; } +//===----------------------------------------------------------------------===// +// Translation Hardening Extension (FEAT_THE) +//===----------------------------------------------------------------------===// defm RCW : ReadCheckWriteCompareAndSwap; defm RCWCLR : ReadCheckWriteOperation<0b001, "clr">; -- 2.7.4