[llvm] [Lint][AMDGPU] No store to const addrspace (PR #109181)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 23 21:46:06 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: {{^$}}
+
----------------
arsenm wrote:
This test doesn't actually require the targets. The triple will still be recognized no matter what, which is all that's needed
https://github.com/llvm/llvm-project/pull/109181
More information about the llvm-commits
mailing list