[PATCH] D62670: [ARM] Add MVE horizontal accumulation instructions.
    Dave Green via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Jun  4 12:46:02 PDT 2019
    
    
  
dmgreen added inline comments.
================
Comment at: llvm/lib/Target/ARM/ARMInstrMVE.td:307
+              list<dag> pattern=[]>
+  : MVE_rDest<(outs tGPREven:$Rda), (ins tGPREven:$Rda_src, MQPR:$Qm), NoItinerary,
+              !strconcat("vaddv", acc), suffix, "$Rda, $Qm", "$Rda = $Rda_src",
----------------
As a corollary to what Oliver was saying. The VADDV (or in VADDVs8no_acc) doesn't really take a Rda_src, I believe. At least the structure you would match from llvm would not. There's a perfectly good chance it's possible and I just don't know how to represent that in a pattern. But it seems more natural to make sure that VADDVs*no_acc don't require a Rda_src.
When I looked at this downstream, I just ended up splitting this into two classes. 
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62670/new/
https://reviews.llvm.org/D62670
    
    
More information about the llvm-commits
mailing list