[PATCH] D137425: [M68k] Add predicates `AtLeastM680x0`

Sheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 4 07:32:59 PDT 2022


0x59616e created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
0x59616e requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

https://reviews.llvm.org/D137425

Files:
  llvm/lib/Target/M68k/M68kInstrInfo.td


Index: llvm/lib/Target/M68k/M68kInstrInfo.td
===================================================================
--- llvm/lib/Target/M68k/M68kInstrInfo.td
+++ llvm/lib/Target/M68k/M68kInstrInfo.td
@@ -435,6 +435,11 @@
 def IsM68030     : Predicate<"Subtarget.IsM68030()">;
 def IsM68040     : Predicate<"Subtarget.IsM68040()">;
 
+def AtLeastM68000     : Predicate<"Subtarget->atLeastM68000()">;
+def AtLeastM68010     : Predicate<"Subtarget->atLeastM68010()">;
+def AtLeastM68020     : Predicate<"Subtarget->atLeastM68020()">;
+def AtLeastM68030     : Predicate<"Subtarget->atLeastM68030()">;
+def AtLeastM68040     : Predicate<"Subtarget->atLeastM68040()">;
 
 //===----------------------------------------------------------------------===//
 // Condition Codes


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137425.473238.patch
Type: text/x-patch
Size: 764 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221104/29e04df2/attachment.bin>


More information about the llvm-commits mailing list