ΒΆllvm::LegalizeMutation changeElementCountTo(
    unsigned int TypeIdx,
    llvm::LLT Ty)

Description

Keep the same scalar or element type as \p TypeIdx, but take the number of elements from \p Ty.

Declared at: llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h:366

Parameters

unsigned int TypeIdx
llvm::LLT Ty