[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 06:27:13 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-mesa-mesa3d --amdgpu-annotate-uniform -S %s | FileCheck %s -check-prefix=UNIFORM
+; RUN: opt -mtriple=amdgcn-mesa-mesa3d --amdgpu-annotate-uniform --si-annotate-control-flow -S %s | FileCheck %s -check-prefix=CONTROLFLOW
----------------
arsenm wrote:
It needs the TargetMachine. It doesn't need the argument, it will construct the TargetMachine from the triple in the file
https://github.com/llvm/llvm-project/pull/156437
More information about the llvm-commits
mailing list