llvm::getMVTForLLT

Get a rough equivalent of an MVT for a given LLT. MVT can't distinguish pointers, so these will convert to a plain integer.

Synopsis

Declared in <llvm/CodeGen/LowLevelTypeUtils.h>

MVT
getMVTForLLT(LLT Ty);

Return Value

Machine value type roughly equivalent to Ty.

Parameters

NameDescription
TyLow-level type to convert.