AMDGPU: Add a test to show bad compilation to set_inactive
The set_inactive was originally inside a if branch, but was incorrectly hoisted out of the loop. So the lanes that were disabled later after the if() branch inside the loop were not set correctly. It should stay in the if branch. Differential Revision: https://reviews.llvm.org/D147682
Loading
Please sign in to comment