[llvm-commits] [llvm] r122979 - in /llvm/trunk/lib/CodeGen/SelectionDAG: LegalizeIntegerTypes.cpp LegalizeTypes.cpp LegalizeTypes.h

Duncan Sands baldrick at free.fr
Thu Jan 6 14:45:10 PST 2011


Hi Eric,

> +std::pair<SDValue, SDValue>  DAGTypeLegalizer::ExpandAtomic(SDNode *Node) {

why not put this function in LegalizeIntegerTypes?  It doesn't seem to be of
general utility.  Are you planning to use it from some other LegalizeXYZTypes
file?

> +	std::pair<SDValue, SDValue>  ExpandAtomic(SDNode *Node);
> +

Then you wouldn't need this declaration either.

Ciao, Duncan.



More information about the llvm-commits mailing list