[PATCH] D142313: [PowerPC] Replace PPCISD::VABSD cases with generic ISD::ABDU(X,Y) node

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 23 20:23:22 PST 2023


RKSimon added inline comments.


================
Comment at: llvm/test/CodeGen/PowerPC/ppc64-P9-vabsd.ll:1249
 entry:
   %sub = sub <4 x i32> %a, %b
   %sub.i = sub <4 x i32> zeroinitializer, %sub
----------------
if we replace this with sub nsw then the fold is legal


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D142313



More information about the llvm-commits mailing list