Skip to content

Commit

Permalink
R600/AMDILPeepholeOptimizer.cpp: Tweak std::make_pair to satisfy C++11.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173807 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
chapuni committed Jan 29, 2013
1 parent 3ba51ce commit 86651e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Target/R600/AMDILPeepholeOptimizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 86651e4

Please sign in to comment.