[PATCH] D37472: [ARM] Enable QADD and QSUB instruction selection

Javed Absar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 5 06:55:55 PDT 2017


javed.absar added inline comments.


================
Comment at: lib/Target/ARM/ARMISelLowering.cpp:12183
+                                    const ARMSubtarget *ST)  {
+  if (ST->isThumb()) {
+    if (!ST->hasDSP())
----------------
nitpick: probably more compact as - 
if (ST->isThumb() && !ST->DSP())
   return SDValue();


https://reviews.llvm.org/D37472





More information about the llvm-commits mailing list