[PATCH] D135596: [AArch64] Canonicalize ZERO_EXTEND to VSELECT

Paul Walker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 13 17:27:56 PDT 2022


paulwalker-arm accepted this revision.
paulwalker-arm added inline comments.
This revision is now accepted and ready to land.


================
Comment at: llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:5547-5548
+  SDValue Zeros = DAG.getConstant(0, DL, VT);
+  return DAG.getNode(ISD::VSELECT, DL, VT, Value, Ones,
+                     Zeros);
+}
----------------
This should all fit on one line now.  You probably just need to rerun clang-format.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D135596



More information about the llvm-commits mailing list