Keep the same type as the given type index.

Synopsis

Declared in <llvm/CodeGen/GlobalISel/LegalizerInfo.h>

LegalizeMutation
changeTo(
    unsigned int TypeIdx,
    unsigned int FromTypeIdx);

Return Value

A mutation that copies the type from FromTypeIdx.

Parameters

Name

Description

TypeIdx

Type index being rewritten.

FromTypeIdx

Type index whose type is copied.

Created with MrDocs