[llvm] 9afec3c - [Instrumentation] Fix test failure in #115471 (#115596)

via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 9 01:01:58 PST 2024


Author: paperchalice
Date: 2024-11-09T17:01:54+08:00
New Revision: 9afec3ca3e926cd481af372b72ee5bd7e54942d0

URL: https://github.com/llvm/llvm-project/commit/9afec3ca3e926cd481af372b72ee5bd7e54942d0
DIFF: https://github.com/llvm/llvm-project/commit/9afec3ca3e926cd481af372b72ee5bd7e54942d0.diff

LOG: [Instrumentation] Fix test failure in #115471 (#115596)

Add triple to indicate this is x86 test.

Added: 
    

Modified: 
    llvm/test/CodeGen/X86/optnone.mir

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/X86/optnone.mir b/llvm/test/CodeGen/X86/optnone.mir
index ae572cd6c3a50e..ba852cebc35e03 100644
--- a/llvm/test/CodeGen/X86/optnone.mir
+++ b/llvm/test/CodeGen/X86/optnone.mir
@@ -1,4 +1,4 @@
-# RUN: llc -passes=machine-cse -debug-pass-manager %s -o - 2>&1 | FileCheck %s
+# RUN: llc -mtriple=x86_64-- -passes=machine-cse -debug-pass-manager %s -o - 2>&1 | FileCheck %s
 
 # CHECK: Skipping pass MachineCSEPass on test_optnone due to optnone attribute
 # CHECK: Running pass: MachineCSEPass on test_opt


        


More information about the llvm-commits mailing list