[llvm] [test] Add triple in test introduced in #98317 (PR #98600)

via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 12 00:54:31 PDT 2024


https://github.com/paperchalice created https://github.com/llvm/llvm-project/pull/98600

None

>From ddf9f0066d11ffd5b7999989f8e643e4ea668365 Mon Sep 17 00:00:00 2001
From: PaperChalice <liujunchang97 at outlook.com>
Date: Fri, 12 Jul 2024 15:54:06 +0800
Subject: [PATCH] [test] Add triple in test introduced in #98317

---
 llvm/test/CodeGen/X86/machine-block-freq.mir | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/test/CodeGen/X86/machine-block-freq.mir b/llvm/test/CodeGen/X86/machine-block-freq.mir
index bdfb39ccb09ab..5740f28268e1b 100644
--- a/llvm/test/CodeGen/X86/machine-block-freq.mir
+++ b/llvm/test/CodeGen/X86/machine-block-freq.mir
@@ -1,4 +1,4 @@
-# RUN: llc --passes='print<machine-block-freq>' -filetype=null 2>&1 %s | FileCheck %s
+# RUN: llc -mtriple=x86_64-gnu-linux --passes='print<machine-block-freq>' -filetype=null 2>&1 %s | FileCheck %s
 
 ---
 name:            is_odd



More information about the llvm-commits mailing list