[PATCH] D70841: [ARM][MVE] Sink vector shift operand

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 6 01:23:02 PST 2019


dmgreen accepted this revision.
dmgreen added a comment.

Nice one. Yeah, that was what I meant. LGTM



================
Comment at: llvm/lib/Target/ARM/ARMISelLowering.cpp:11748
+
+  auto *Zero = cast<ConstantSDNode>(VMov.getOperand(0));
+  if (!Zero->isNullValue())
----------------
We have a IsZeroVector in here now, which may help simplify some of this.


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

https://reviews.llvm.org/D70841





More information about the llvm-commits mailing list