[llvm] [VectorCombine] Add support for zext/sext/trunc to shuffleToIdentity (PR #92696)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Fri May 24 02:51:04 PDT 2024
================
@@ -1742,6 +1742,9 @@ static Value *generateNewInstTree(ArrayRef<InstLane> Item, FixedVectorType *Ty,
if (auto *BI = dyn_cast<BinaryOperator>(I))
return Builder.CreateBinOp((Instruction::BinaryOps)BI->getOpcode(), Ops[0],
Ops[1]);
+ if (auto CI = dyn_cast<CastInst>(I))
----------------
RKSimon wrote:
auto *CI
https://github.com/llvm/llvm-project/pull/92696
More information about the llvm-commits
mailing list