[llvm] [AMDGPU][LIT][NFC] Adding -mtriple for AMDGPUAnnotateUniformValues Pass tests (PR #156437)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 2 03:39:39 PDT 2025
================
@@ -5,8 +5,8 @@
; cannot be expressed reliably by the generated checks.
; RUN: llc -mtriple=amdgcn -mcpu=gfx900 < %s | FileCheck %s -check-prefix=ISA
-; RUN: opt --amdgpu-annotate-uniform -S %s | FileCheck %s -check-prefix=UNIFORM
-; RUN: opt --amdgpu-annotate-uniform --si-annotate-control-flow -S %s | FileCheck %s -check-prefix=CONTROLFLOW
+; RUN: opt -mtriple=amdgcn -mcpu=gfx900 --amdgpu-annotate-uniform -S %s | FileCheck %s -check-prefix=UNIFORM
+; RUN: opt -mtriple=amdgcn -mcpu=gfx900 --amdgpu-annotate-uniform --si-annotate-control-flow -S %s | FileCheck %s -check-prefix=CONTROLFLOW
----------------
arsenm wrote:
This test already has target triple and this doesn't match so this is just added ambiguity to the test
https://github.com/llvm/llvm-project/pull/156437
More information about the llvm-commits
mailing list