[PATCH] D90176: [AArch64] Improve lowering of insert_vector_elt with 0.0 consts.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 27 13:05:55 PDT 2020


fhahn added a comment.





================
Comment at: llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:9257
+  auto *CV = dyn_cast<ConstantFPSDNode>(Op.getOperand(1));
+  if (CV && CV->isZero()) {
+    using RowTy = MVT[3];
----------------
efriedma wrote:
> I think isZero is true for -0.0?
Indeed, thanks for spotting this!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D90176



More information about the llvm-commits mailing list