[PATCH] D35266: [AArch64] Remove unused IsDarwin & IsNotDarwin predicates (NFCI).

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 11 09:31:04 PDT 2017


fhahn created this revision.
Herald added subscribers: kristof.beyls, javed.absar, aemerson.

It looks like those predicates are unused and the AArch64 codegen
tests pass without them. I might have missed something though.


https://reviews.llvm.org/D35266

Files:
  lib/Target/AArch64/AArch64InstrInfo.td


Index: lib/Target/AArch64/AArch64InstrInfo.td
===================================================================
--- lib/Target/AArch64/AArch64InstrInfo.td
+++ lib/Target/AArch64/AArch64InstrInfo.td
@@ -313,9 +313,6 @@
 //===----------------------------------------------------------------------===//
 
 // AArch64 Instruction Predicate Definitions.
-def IsDarwin  : Predicate<"Subtarget->isTargetDarwin()">;
-def IsNotDarwin: Predicate<"!Subtarget->isTargetDarwin()">;
-
 // We could compute these on a per-module basis but doing so requires accessing
 // the Function object through the <Target>Subtarget and objections were raised
 // to that (see post-commit review comments for r301750).


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35266.106051.patch
Type: text/x-patch
Size: 694 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170711/62811b99/attachment.bin>


More information about the llvm-commits mailing list