[PATCH] D87231: [AArch64] Match pairwise fadd pattern

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 16 03:06:09 PDT 2020


dmgreen added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:11598
+  if (ConstantN1 && ConstantN1->getZExtValue() == 0 &&
+      N0->getOpcode() == ISD::FADD && VT == MVT::f32) {
+    SDLoc DL(N0);
----------------
Could this apply equally for f16/f64 as well?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D87231



More information about the llvm-commits mailing list