[PATCH] D149383: [SelectionDAG][WIP] Add support for evaluating SetCC based on knownbits
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 18 09:56:16 PDT 2023
RKSimon added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp:4302
+ if (!Res && KnownRHS.isZero() && DAG.isKnownNeverZero(N0))
+ Res = false;
+ break;
----------------
I'm not sure this is always false?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D149383/new/
https://reviews.llvm.org/D149383
More information about the llvm-commits
mailing list