[AMDGPU] Move insertion of function entry waitcnt later
authorAustin Kerbow <Austin.Kerbow@amd.com>
Tue, 27 Apr 2021 16:29:27 +0000 (09:29 -0700)
committerAustin Kerbow <Austin.Kerbow@amd.com>
Thu, 6 May 2021 00:58:38 +0000 (17:58 -0700)
commit6617a5a5eaeec455a2c4e1df9589208bcd5e6678
tree7e085471afdc2bed4f0dc425a8fa8a443eebd304
parentf6d7fc801b4a513a5d5e04762e0e4c71414ae5ef
[AMDGPU] Move insertion of function entry waitcnt later

This allows tracking these as preexisting waitcnt.

Reviewed By: rampitec

Differential Revision: https://reviews.llvm.org/D101380
llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
llvm/test/CodeGen/AMDGPU/waitcnt-preexisting.mir