[PATCH] D142535: [DAGCombine] Fold redundant select
Sam Parker via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 30 01:23:11 PST 2023
samparker added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:10921
+ auto IsGreaterLess = [](ISD::CondCode CC) {
+ return CC == ISD::SETLT || CC == ISD::SETULT ||
+ CC == ISD::SETGT || CC == ISD::SETUGT;
----------------
craig.topper wrote:
> Could this have ISD::SETNE too?
Yeah, good shout.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142535/new/
https://reviews.llvm.org/D142535
More information about the llvm-commits
mailing list