[llvm] [Lint][AMDGPU] No store to const addrspace (PR #109181)
Shilei Tian via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 21 08:44:08 PDT 2024
================
@@ -0,0 +1,21 @@
+; RUN: not opt --mtriple=amdgcn --passes=lint --lint-abort-on-error %s -o /dev/null |& FileCheck %s
+; RUN: opt --mtriple=amdgcn --mcpu=gfx1030 --passes=lint %s -o /dev/null |& FileCheck %s --check-prefixes=CHECK,CHECK0
+; RUN: opt --mtriple=x86_64 --passes=lint --lint-abort-on-error %s -o /dev/null |& FileCheck %s --allow-empty --check-prefix=NOERR
+; NOERR: {{^$}}
+
----------------
shiltian wrote:
I think you will need `; REQUIRES: amdgpu-registered-target`.
https://github.com/llvm/llvm-project/pull/109181
More information about the llvm-commits
mailing list