Skip to content

Commit a644b77

Browse files
Remove unused attributes from move-dbg-values-imm-test.mir
Differential Revision: https://reviews.llvm.org/D149355
1 parent 857ccf3 commit a644b77

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

llvm/test/DebugInfo/ARM/move-dbg-values-imm-test.mir

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
target triple = "armv8-unknown-linux"
1212

1313
; Function Attrs: uwtable
14-
define i32 @main() #0 !dbg !6 {
14+
define i32 @main() !dbg !6 {
1515
entry:
1616
%c = alloca i32, align 4
1717
tail call void @llvm.dbg.value(metadata i32 13, metadata !11, metadata !DIExpression()), !dbg !13
@@ -24,14 +24,9 @@
2424
ret i32 %c.0.c.0., !dbg !16
2525
}
2626

27-
declare i32 @_Z4funcv() #1
27+
declare i32 @_Z4funcv()
2828

29-
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
30-
declare void @llvm.dbg.value(metadata, metadata, metadata) #2
31-
32-
attributes #0 = { uwtable "frame-pointer"="none" "less-precise-fpmad"="false" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" }
33-
attributes #1 = { "frame-pointer"="none" "less-precise-fpmad"="false" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" }
34-
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
29+
declare void @llvm.dbg.value(metadata, metadata, metadata)
3530

3631
!llvm.dbg.cu = !{!0}
3732
!llvm.module.flags = !{!3, !4}

0 commit comments

Comments
 (0)