diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2013-01-18 21:15:53 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2013-01-18 21:15:53 +0000 |
commit | 82d3d4524f2595b2dce617e963b6d67876b4f9ba (patch) | |
tree | 87c19301345734b36691ce557d6357150007dfc0 /lib/MC | |
parent | 935a91540b7aa8f29ea48fe2df657db0ce5b7d5d (diff) |
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>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172846 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC')
0 files changed, 0 insertions, 0 deletions