[llvm] 63e13f2 - [DebugInfo] Limit jump table test for x86 only (#72082)

via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 12 21:22:37 PST 2023


Author: HaohaiWen
Date: 2023-11-13T13:22:32+08:00
New Revision: 63e13f2b7d3e2f52e7566914ad2513c769dd9f0a

URL: https://github.com/llvm/llvm-project/commit/63e13f2b7d3e2f52e7566914ad2513c769dd9f0a
DIFF: https://github.com/llvm/llvm-project/commit/63e13f2b7d3e2f52e7566914ad2513c769dd9f0a.diff

LOG: [DebugInfo] Limit jump table test for x86 only (#72082)

32 bit target may generate different SelectionDAG for jump table. 
Temporarily limit this test for 64bit X86 target only.

Added: 
    

Modified: 
    llvm/test/DebugInfo/Generic/debug-info-jump-table.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/DebugInfo/Generic/debug-info-jump-table.ll b/llvm/test/DebugInfo/Generic/debug-info-jump-table.ll
index 202b688276287e2..fac00d4f158b142 100644
--- a/llvm/test/DebugInfo/Generic/debug-info-jump-table.ll
+++ b/llvm/test/DebugInfo/Generic/debug-info-jump-table.ll
@@ -1,5 +1,9 @@
+; REQUIRES: x86-registered-target
 ; RUN: llc -debug-only=isel %s -o /dev/null 2>&1 | FileCheck --match-full-lines %s
 
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-unknown-linux-gnu"
+
 @str = private unnamed_addr constant [2 x i8] c"1\00", align 1
 @str.12 = private unnamed_addr constant [2 x i8] c"2\00", align 1
 @str.13 = private unnamed_addr constant [2 x i8] c"3\00", align 1


        


More information about the llvm-commits mailing list