[llvm] [AMDGPU]: Rewrite mbcnt_lo/mbcnt_hi to work item ID where applicable (PR #160496)

Christudasan Devadasan via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 31 06:12:28 PDT 2025


================
@@ -0,0 +1,154 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 6
+; RUN: opt -S -mtriple amdgcn-unknown-amdhsa -mcpu=gfx1030 -passes=amdgpu-codegenprepare < %s | FileCheck %s
----------------
cdevadas wrote:

```suggestion
; RUN: opt -S -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1030 -passes=amdgpu-codegenprepare < %s | FileCheck %s
```

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


More information about the llvm-commits mailing list