[llvm] AMDGPU: Avoid crashing on statepoint-like pseudoinstructions (PR #170657)

Robert Imschweiler via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 4 10:28:13 PST 2025


================
@@ -0,0 +1,64 @@
+# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 6
+# RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -run-pass=si-insert-waitcnts -o - %s | FileCheck %s
+
+# Make sure the waitcnt pass doesn't crash on statepoint
+# pseudoinstructions, and handlest he wait for the callee operand
----------------
ro-i wrote:

```suggestion
# pseudoinstructions, and handles the wait for the callee operand
```

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


More information about the llvm-commits mailing list