[PATCH] D68976: [ARM] Add qadd lowering from a sadd_sat

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 15 10:29:59 PDT 2019


dmgreen added inline comments.


================
Comment at: llvm/lib/Target/ARM/ARMInstrInfo.td:3758
 
+def : ARMV6Pat<(saddsat GPR:$a, GPR:$b),
+               (QADD GPR:$a, GPR:$b)>;
----------------
samparker wrote:
> I think these should be V5TE patterns.
I've added a hasBaseDSP method to do the check in ISel. Let me know if there's a better name for it.


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

https://reviews.llvm.org/D68976





More information about the llvm-commits mailing list