std::vector<std::string> &Recips = getTarget().getTargetOpts().Reciprocals;
if (!Recips.empty())
FuncAttrs.addAttribute("reciprocal-estimates",
- llvm::join(Recips.begin(), Recips.end(), ","));
+ llvm::join(Recips, ","));
if (CodeGenOpts.StackRealignment)
FuncAttrs.addAttribute("stackrealign");
std::sort(Features.begin(), Features.end());
FuncAttrs.addAttribute(
"target-features",
- llvm::join(Features.begin(), Features.end(), ","));
+ llvm::join(Features, ","));
}
} else {
// Otherwise just add the existing target cpu and target features to the
std::sort(Features.begin(), Features.end());
FuncAttrs.addAttribute(
"target-features",
- llvm::join(Features.begin(), Features.end(), ","));
+ llvm::join(Features, ","));
}
}
}