[AMDGPU] Add Reset function to GCNHazardRecognizer
authorAustin Kerbow <Austin.Kerbow@amd.com>
Wed, 28 Oct 2020 21:38:41 +0000 (14:38 -0700)
committerAustin Kerbow <Austin.Kerbow@amd.com>
Wed, 28 Oct 2020 23:32:32 +0000 (16:32 -0700)
commitde518673436ecea229076827ee1f3131482d8f41
tree1e7135a3cf92893acc9d2950f7cb094037cc4822
parent7d3e9578cac168181d0072144ed6561ee049d789
[AMDGPU] Add Reset function to GCNHazardRecognizer

Reset the tracked emitted instructions when starting scheduling on a new
region.

Reviewed By: rampitec

Differential Revision: https://reviews.llvm.org/D90347
llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
llvm/lib/Target/AMDGPU/GCNHazardRecognizer.h
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.mov.dpp.ll
llvm/test/CodeGen/AMDGPU/post-ra-sched-reset.mir [new file with mode: 0644]