[PATCH] D91937: [ISel] Port AArch64 SABD and UABD to DAGCombine

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 2 09:38:13 PST 2020


RKSimon added inline comments.


================
Comment at: llvm/include/llvm/Target/TargetSelectionDAG.td:362
+def abds       : SDNode<"ISD::ABDS"      , SDTIntBinOp, []>;
+def abdu       : SDNode<"ISD::ABDU"      , SDTIntBinOp, []>;
 def smullohi   : SDNode<"ISD::SMUL_LOHI" , SDTIntBinHiLoOp, [SDNPCommutative]>;
----------------
RKSimon wrote:
> Can't these be commutative ?
alive2 says yes: https://alive2.llvm.org/ce/z/8giJFY


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

https://reviews.llvm.org/D91937



More information about the llvm-commits mailing list