aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2013-01-18 21:15:53 +0000
committerTom Stellard <thomas.stellard@amd.com>2013-01-18 21:15:53 +0000
commitc4cabef7823177f6e21bfd4207490b2543609208 (patch)
tree3d65525bb00017e6ff3ca3ec4eedfcc1c6debf8d /clang/lib/CodeGen/CodeGenModule.cpp
parentbe8ebeebf7582151a6b9b18cbc1804759ff24b13 (diff)
downloadllvm-c4cabef7823177f6e21bfd4207490b2543609208.zip
llvm-c4cabef7823177f6e21bfd4207490b2543609208.tar.gz
llvm-c4cabef7823177f6e21bfd4207490b2543609208.tar.bz2
R600: Proper insert S_WAITCNT instructions
Some instructions like memory reads/writes are executed asynchronously, so we need to insert S_WAITCNT instructions to block before accessing their results. Previously we have just inserted S_WAITCNT instructions after each async instruction, this patch fixes this and adds a prober insertion pass. Patch by: Christian König Tested-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Tom Stellard <thomas.stellard@amd.com> Signed-off-by: Christian König <deathsimple@vodafone.de> llvm-svn: 172846
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions