[PATCH] D102393: [DAGCombiner] Relax an assertion to an early return
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 13 04:36:45 PDT 2021
lebedev.ri added a comment.
We got here because in `foldSelectOfConstants()`
auto *C1 = dyn_cast<ConstantSDNode>(N1);
auto *C2 = dyn_cast<ConstantSDNode>(N2);
if (!C1 || !C2)
return SDValue();
didn't return.
So what are those constants?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102393/new/
https://reviews.llvm.org/D102393
More information about the llvm-commits
mailing list