[PATCH] D149355: Remove unused attributes from move-dbg-values-imm-test.mir
Shubham Sandeep Rastogi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 27 09:14:02 PDT 2023
rastogishubham created this revision.
rastogishubham added a reviewer: aprantl.
Herald added a project: All.
rastogishubham requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
https://reviews.llvm.org/D145168 added a change to salvaging debug information in the pre register allocatoin ld/st pass. One of the tests associated with that patch has attributes that are not necessary for the test and have been removed with this change
https://reviews.llvm.org/D149355
Files:
llvm/test/DebugInfo/ARM/move-dbg-values-imm-test.mir
Index: llvm/test/DebugInfo/ARM/move-dbg-values-imm-test.mir
===================================================================
--- llvm/test/DebugInfo/ARM/move-dbg-values-imm-test.mir
+++ llvm/test/DebugInfo/ARM/move-dbg-values-imm-test.mir
@@ -11,7 +11,7 @@
target triple = "armv8-unknown-linux"
; Function Attrs: uwtable
- define i32 @main() #0 !dbg !6 {
+ define i32 @main() !dbg !6 {
entry:
%c = alloca i32, align 4
tail call void @llvm.dbg.value(metadata i32 13, metadata !11, metadata !DIExpression()), !dbg !13
@@ -24,14 +24,9 @@
ret i32 %c.0.c.0., !dbg !16
}
- declare i32 @_Z4funcv() #1
+ declare i32 @_Z4funcv()
- ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
- declare void @llvm.dbg.value(metadata, metadata, metadata) #2
-
- 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" }
- 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" }
- attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
+ declare void @llvm.dbg.value(metadata, metadata, metadata)
!llvm.dbg.cu = !{!0}
!llvm.module.flags = !{!3, !4}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149355.517598.patch
Type: text/x-patch
Size: 1475 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230427/4225f853/attachment.bin>
More information about the llvm-commits
mailing list