HomePhabricator

CodeGen: simplify TargetMachine::getSymbol interface. NFC.

Description

CodeGen: simplify TargetMachine::getSymbol interface. NFC.

No-one actually had a mangler handy when calling this function, and
getSymbol itself went most of the way towards getting its own mangler
(with a local TLOF variable) so forcing all callers to supply one was
just extra complication.

Details

Committed
tnorthoverNov 22 2016, 8:17 AM
Parents
rL287644: [X86] Change lowerBuildVectorToBitOp() to take a BuildVectorSDNode. NFC.
Branches
Unknown
Tags
Unknown

Event Timeline

jtony added a subscriber: jtony.Nov 28 2016, 6:51 AM

Looks good to me from the LLVM Coding Standards perspective.