[PATCH] D117210: [CodeGen] Support folds of not(cmp(cc, ...)) -> cmp(!cc, ...) for scalable vectors
Fraser Cormack via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 17 03:30:48 PST 2022
frasercrmck added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp:3175
+ isa<ConstantSDNode>(N->getOperand(0))) {
+ CVal = cast<ConstantSDNode>(N->getOperand(0))->getAPIntValue();
} else {
----------------
I think we have to support the truncating case as with `BUILD_VECTOR` above, don't we?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117210/new/
https://reviews.llvm.org/D117210
More information about the llvm-commits
mailing list