HomePhabricator

[AMDGPU] Fix assertion failure in SIInsertHardClauses

Authored by foad on May 15 2020, 6:36 AM.

Description

[AMDGPU] Fix assertion failure in SIInsertHardClauses

This new pass failed an assertion whenever there were s_nops after the
end of clause.

Differential Revision: https://reviews.llvm.org/D80007