[llvm] [Lint][AMDGPU] No store to const addrspace (PR #109181)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 24 08:09:43 PDT 2024
================
@@ -0,0 +1,42 @@
+; 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
----------------
arsenm wrote:
Should use -disable-output instead of -o /dev/null. Does |& work on all shells? Usually use 2>&1
https://github.com/llvm/llvm-project/pull/109181
More information about the llvm-commits
mailing list