[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:17 PST 2023
https://github.com/HaohaiWen created https://github.com/llvm/llvm-project/pull/72082
Other target may generate different SelectionDAG for jump table.
Temporarily limit this test for x86 only.
>From 2c7f8f888a93a623bd2f075bedb459b759548cf0 Mon Sep 17 00:00:00 2001
From: Haohai Wen <haohai.wen at intel.com>
Date: Mon, 13 Nov 2023 12:13:26 +0800
Subject: [PATCH] [DebugInfo] Limit jump table test for x86 only
Other target may generate different SelectionDAG for jump table.
Temporarily limit this test for x86 only.
---
llvm/test/DebugInfo/Generic/debug-info-jump-table.ll | 1 +
1 file changed, 1 insertion(+)
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
More information about the llvm-commits
mailing list