[llvm] [VectorCombine] Add special handling for truncating shuffles (PR #70013)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 24 06:01:50 PDT 2023
================
@@ -1472,21 +1472,27 @@ bool VectorCombine::foldShuffleFromReductions(Instruction &I) {
dyn_cast<FixedVectorType>(Shuffle->getOperand(0)->getType());
if (!ShuffleInputType)
return false;
- int NumInputElts = ShuffleInputType->getNumElements();
+ unsigned int NumInputElts = ShuffleInputType->getNumElements();
----------------
RKSimon wrote:
unsigned int -> unsigned
https://github.com/llvm/llvm-project/pull/70013
More information about the llvm-commits
mailing list