llvm::TargetLowering::expandUnalignedLoad

Expands an unaligned load to 2 half-size loads for an integer, and possibly more for vectors.

Synopsis

Declared in <llvm/CodeGen/TargetLowering.h>

std::pair<SDValue, SDValue>
expandUnalignedLoad(
    LoadSDNode* LD,
    SelectionDAG& DAG) const;

Return Value

A pair of the loaded value and the token chain.

Parameters

NameDescription
LDUnaligned load node.
DAGSelectionDAG providing context.