P4 to Git Change 1288058 by jsjodin@jsjodin-git2p4-llvm on 2016/07/06 16:59:31

SWDEV-3 - CodeGen: Use MachineInstr& in SlotIndexes.cpp, NFC

	Avoid implicit conversions from iterator to pointer by preferring
	MachineInstr& and using range-based for loops.

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

	GitHash: effa4cc200078395a74decd1ae2d1e380c79a2f7

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/llvm.git/lib/CodeGen/SlotIndexes.cpp#2 edit


[ROCm/clr commit: e6f8cce17c]
This commit is contained in:
foreman
2016-07-07 00:41:51 -04:00
parent f4ea5d9533
commit 590a710ab3
7 changed files with 82 additions and 90 deletions
@@ -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;
}