[PATCH] D103462: [SDAG] allow more cast folding for vector sext-of-setcc
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 1 10:10:42 PDT 2021
lebedev.ri added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:10846
+ if (User->getOpcode() != ISD::ZERO_EXTEND ||
+ User->getValueType(0) != VT)
+ return false;
----------------
What if it is extending to the even wider type than `VT`?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103462/new/
https://reviews.llvm.org/D103462
More information about the llvm-commits
mailing list