[PATCH] D92637: [DAGCombine][PowerPC] Simplify nabs by using legal `smin` operation
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 4 02:00:03 PST 2020
RKSimon added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:3216
}
}
----------------
We might be able to adapt TargetLowering::expandABS with a Negate bool to handle this - we're doing some very similar expansions there already.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92637/new/
https://reviews.llvm.org/D92637
More information about the llvm-commits
mailing list