1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00

R600/AMDILPeepholeOptimizer.cpp: Tweak std::make_pair to satisfy C++11.

llvm-svn: 173807
This commit is contained in:
NAKAMURA Takumi 2013-01-29 16:31:56 +00:00
parent f9f76dc502
commit 6f0f8e9c41

View File

@ -366,7 +366,7 @@ AMDGPUPeepholeOpt::optimizeCallInst(BasicBlock::iterator *bbb) {
std::string buffer(F->getName().str() + "_noret");
F = dyn_cast<Function>(
F->getParent()->getOrInsertFunction(buffer, F->getFunctionType()));
atomicFuncs.push_back(std::make_pair <CallInst*, Function*>(CI, F));
atomicFuncs.push_back(std::make_pair(CI, F));
}
if (!mSTM->device()->isSupported(AMDGPUDeviceInfo::ArenaSegment)