[llvm] [X86] Add assertion required for pseudo probe desc check test (PR #149800)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 21 04:17:06 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-backend-x86

Author: Haohai Wen (HaohaiWen)

<details>
<summary>Changes</summary>



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


1 Files Affected:

- (modified) llvm/test/CodeGen/X86/pseudo-probe-desc-check.ll (+3-2) 


``````````diff
diff --git a/llvm/test/CodeGen/X86/pseudo-probe-desc-check.ll b/llvm/test/CodeGen/X86/pseudo-probe-desc-check.ll
index 0b1d16d33b5f0..2635d1079da41 100644
--- a/llvm/test/CodeGen/X86/pseudo-probe-desc-check.ll
+++ b/llvm/test/CodeGen/X86/pseudo-probe-desc-check.ll
@@ -1,5 +1,6 @@
-; RUN: llc -mtriple=x86_64-unknown-linux-gnu < %s 2>&1 | FileCheck %s
-; RUN: llc -mtriple=x86_64-unknown-windows-msvc < %s 2>&1 | FileCheck %s
+; RUN: llc -mtriple=x86_64-unknown-linux-gnu < %s -o /dev/null 2>&1 | FileCheck %s
+; RUN: llc -mtriple=x86_64-unknown-windows-msvc < %s -o /dev/null 2>&1 | FileCheck %s
+; REQUIRES: asserts
 
 ; CHECK: warning: Guid:8314849053352128226 Name:inlinee does not exist in pseudo probe desc
 ; CHECK: warning: Guid:6492337042787843907 Name:extract2 does not exist in pseudo probe desc

``````````

</details>


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


More information about the llvm-commits mailing list