OSDN Git Service

[AMDGPU] Make note of existing waitcnt instrs; this is add-on work related to suppres...
authorMark Searles <m.c.searles@gmail.com>
Mon, 19 Feb 2018 19:19:59 +0000 (19:19 +0000)
committerMark Searles <m.c.searles@gmail.com>
Mon, 19 Feb 2018 19:19:59 +0000 (19:19 +0000)
commit04c7451aa8dfdee17307231fecd29b6d5e989e4b
tree371ebcd745477cdc158bc22479be8e3473a1d806
parent176cbb368e90827aee29e029dd0320d18814ef4d
[AMDGPU] Make note of existing waitcnt instrs; this is add-on work related to suppression of redundant waitcnt instrs. It is necessary to make note of these existing waitcnt instrs so that we do not fall into an infinite loop when handling loops. Also, [NFC] some minor code clean-up.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@325524 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/SIInsertWaitcnts.cpp
test/CodeGen/AMDGPU/waitcnt-no-redundant.mir