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
This commit is contained in:
foreman
2016-07-07 00:41:51 -04:00
parent 352d3839bf
commit e6f8cce17c
7 changed files with 82 additions and 90 deletions
+1 -1
View File
@@ -2678,7 +2678,7 @@ KernelBlitManager::writeRawData(
const void* data
) const
{
static_cast<pal::Memory&>(memory).writeRawData(gpu(), 0, size, data, false);
static_cast<pal::Memory&>(memory).writeRawData(gpu(), size, data, false);
synchronize();
}