mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
R600/AMDILPeepholeOptimizer.cpp: Tweak std::make_pair to satisfy C++11.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173807 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3ba51cefb7
commit
86651e4db5
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user