P4 to Git Change 1288056 by jsjodin@jsjodin-git2p4-llvm on 2016/07/06 16:54:18

SWDEV-3 - CodeGen: Use MachineInstr& in RegAllocFast, NFC

	Use MachineInstr& instead of MachineInstr* in RegAllocFast to avoid
	implicit conversions from MachineInstrBundleIterator.  RAFast::spillAll
	and RAFast::spillVirtReg still take iterators, since their argument may
	be an end iterator from MachineBasicBlock::getFirstTerminator.

	git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@274353 91177308-0d34-0410-b5e6-96231b3b80d8

	GitHash: ce5fdc00e7ed9f05c643b056d0561a8133b5438b

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/llvm.git/lib/CodeGen/RegAllocFast.cpp#2 edit
This commit is contained in:
foreman
2016-07-07 00:29:17 -04:00
parent 219a3c3b4f
commit b846d72de1
7 changed files with 82 additions and 90 deletions
+1 -1
View File
@@ -619,7 +619,7 @@ PrintfDbgHSA::init(
// Copy offset and number of bytes available for printf data
// into the corresponding location in the debug buffer
dbgBuffer_->writeRawData(gpu, 0, initSize, sysMem, true);
dbgBuffer_->writeRawData(gpu, initSize, sysMem, true);
}
return true;
}