[PATCH] D91120: [DAGCombine][PowerPC] Fold negated abs to avoid generating `select_cc`

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 12 05:38:38 PST 2020


spatel added a subscriber: nikic.
spatel added a comment.

Note that we are planning to canonicalize IR to the abs() intrinsic - D87188 <https://reviews.llvm.org/D87188>.
Assuming that comes through relatively soon (cc @nikic), should we hold off adding what would probably become dead code in the backend?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D91120



More information about the llvm-commits mailing list