[llvm] [AMDGPU] Skip non-first termintors when forcing emit zero flag (PR #112116)

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 13 22:13:03 PDT 2024


================
@@ -0,0 +1,21 @@
+# RUN: llc -mtriple=amdgcn-amd-amdhsa -run-pass si-insert-waitcnts -amdgpu-waitcnt-forcezero=1 %s -o - | FileCheck %s
----------------
shiltian wrote:

The whole point of this PR is to make sure there is no waitcnt between any terminator.

https://github.com/llvm/llvm-project/pull/112116


More information about the llvm-commits mailing list