[PATCH] D131867: [AVR] Do not emit instructions invalid for attiny10

Ayke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 22 07:42:36 PST 2022


aykevl added inline comments.


================
Comment at: llvm/lib/Target/AVR/AVRInstrInfo.td:327
+def HasNonTinyEncoding : Predicate<"!Subtarget->hasTinyEncoding()">,
+                         AssemblerPredicate<(all_of (not FeatureTinyEncoding))>;
+
----------------
benshi001 wrote:
> Should it be `any_of` rather than `all_of` for `HasNonTinyEncoding` ?
It seems like `all_of` is the more common form. Try:

    git grep 'all_of' llvm/lib/Target/ | grep not


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131867/new/

https://reviews.llvm.org/D131867



More information about the llvm-commits mailing list