Skip to content

Commit 6428bdd

Browse files
authored
[DebugInfo] Remove target related attributes for jump-table test (#72075)
This fixes test fails on non-x86 target.
1 parent 52b247b commit 6428bdd

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
; RUN: llc -debug-only=isel %s -o /dev/null 2>&1 | FileCheck --match-full-lines %s
22

3-
source_filename = "jump_table.c"
4-
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"
5-
target triple = "x86_64-unknown-linux-gnu"
6-
73
@str = private unnamed_addr constant [2 x i8] c"1\00", align 1
84
@str.12 = private unnamed_addr constant [2 x i8] c"2\00", align 1
95
@str.13 = private unnamed_addr constant [2 x i8] c"3\00", align 1
@@ -102,7 +98,7 @@ declare void @llvm.dbg.value(metadata, metadata, metadata) #1
10298
; Function Attrs: nofree nounwind
10399
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #2
104100

105-
attributes #0 = { nofree nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
101+
attributes #0 = { nofree nounwind uwtable }
106102
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
107103
attributes #2 = { nofree nounwind }
108104

0 commit comments

Comments
 (0)