[PATCH] D61262: [AArch64] Implement MC support for Scalable Vector Extension 2 (SVE2)

Cullen Rhodes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 3 08:45:18 PDT 2019


c-rhodes marked an inline comment as done.
c-rhodes added inline comments.


================
Comment at: lib/Target/AArch64/AArch64SchedExynosM1.td:27
 
-  list<Predicate> UnsupportedFeatures = [HasSVE];
+  list<Predicate> UnsupportedFeatures = [HasSVE, HasSVE2, HasSVE2AES,
+                                         HasSVE2SM4, HasSVE2SHA3,
----------------
c-rhodes wrote:
> javed.absar wrote:
> > Instead of repeating this list everywhere you can at top level : 
> > 
> > class AArch64UnsupportedF { list<Predicate> F; }
> > def  SVEUnsupported F : AArch64UnsupportedF {
> >     let F = [HasSVE, HasSVE2, ... ];
> > }
> >   
> > and then in each AArch64SchedX.td ::
> >  list<Predicate> UnsupportedFeatures = SVEUnsupported.F;
> > 
> > TableGen curently does not have globals otherwise it would be simpler,  but this idiom works
> > 
> That's neat!
> 
> I presume top-level is `AArch64.td`, I'm happy to make the change there
@javed.absar I've split this patch up and implemented your suggestion in this revision: https://reviews.llvm.org/D61513


Repository:
  rL LLVM

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

https://reviews.llvm.org/D61262





More information about the llvm-commits mailing list