[llvm] [DebugInfo] Limit jump table test for x86 only (PR #72082)

via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 12 20:18:48 PST 2023


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-debuginfo

Author: None (HaohaiWen)

<details>
<summary>Changes</summary>

Other target may generate different SelectionDAG for jump table. 
Temporarily limit this test for x86 only.

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


1 Files Affected:

- (modified) llvm/test/DebugInfo/Generic/debug-info-jump-table.ll (+1) 


``````````diff
diff --git a/llvm/test/DebugInfo/Generic/debug-info-jump-table.ll b/llvm/test/DebugInfo/Generic/debug-info-jump-table.ll
index 202b688276287e2..5a4d11f00682f69 100644
--- a/llvm/test/DebugInfo/Generic/debug-info-jump-table.ll
+++ b/llvm/test/DebugInfo/Generic/debug-info-jump-table.ll
@@ -1,3 +1,4 @@
+; REQUIRES: x86-registered-target
 ; RUN: llc -debug-only=isel %s -o /dev/null 2>&1 | FileCheck --match-full-lines %s
 
 @str = private unnamed_addr constant [2 x i8] c"1\00", align 1

``````````

</details>


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


More information about the llvm-commits mailing list