[llvm] [Instrumentation] Fix test failure in #115471 (PR #115596)

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


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-backend-x86

Author: None (paperchalice)

<details>
<summary>Changes</summary>

Add triple to indicate this is x86 test.

---
Full diff: https://github.com/llvm/llvm-project/pull/115596.diff


1 Files Affected:

- (modified) llvm/test/CodeGen/X86/optnone.mir (+1-1) 


``````````diff
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

``````````

</details>


https://github.com/llvm/llvm-project/pull/115596


More information about the llvm-commits mailing list